Del test build
This commit is contained in:
parent
1b9cfa279f
commit
7fcc5bb65d
47
.github/workflows/build_restreamer-ui.new.yml
vendored
47
.github/workflows/build_restreamer-ui.new.yml
vendored
@ -1,47 +0,0 @@
|
||||
name: Share data between jobs
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
job_1:
|
||||
name: Build react
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Use Node.js 19.0
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 19.0
|
||||
- name: Switch yarn version
|
||||
run: yarn set version berry
|
||||
- name: Set httpTimeout
|
||||
run: yarn config set httpTimeout 600000
|
||||
- name: Install dependencies
|
||||
run: yarn install
|
||||
- name: Generate build
|
||||
run: yarn run build
|
||||
- name: Upload math result for job 1
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: react-github-actions-build
|
||||
path: build
|
||||
|
||||
job_2:
|
||||
name: Multiply by 9
|
||||
needs: job_1
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Download math result for job 1
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: react-github-actions-build
|
||||
- shell: bash
|
||||
run: |
|
||||
value=`cat math-homework.txt`
|
||||
expr $value \* 9 > math-homework.txt
|
||||
- name: Upload math result for job 2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: homework
|
||||
path: math-homework.txt
|
||||
Loading…
x
Reference in New Issue
Block a user