Fix requires Core >= v16.11.0 and FFmpeg >= 5.1.0

This commit is contained in:
Jan Stabenow 2022-11-14 21:21:37 +01:00
parent 1d25b84ac5
commit 1b9cfa279f
No known key found for this signature in database
GPG Key ID: 9C22DD65A9AAF133
3 changed files with 50 additions and 2 deletions

View File

@ -0,0 +1,47 @@
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

View File

@ -3,6 +3,7 @@
## v1.5.0 > v1.5.1
- Fix FFmpeg version check for RTSP sources (datarhei/restreamer#455)
- Fix requires Core >= v16.11.0 and FFmpeg >= 5.1.0
## v1.4.0 > v1.5.0

View File

@ -1,7 +1,7 @@
import pkg from '../package.json';
const Core = '^16.10.1';
const FFmpeg = '^4.1.0 || ^5.0.0';
const Core = '^16.11.0';
const FFmpeg = '^5.1.0';
const UI = pkg.bundle ? pkg.bundle : pkg.name + ' v' + pkg.version;
const Version = pkg.version;