Remove set-env from ci file
This commit is contained in:
parent
abdf15aaaf
commit
a76ee0f25a
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -55,7 +55,7 @@ jobs:
|
|||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install libgl1-mesa-dev libxkbcommon-x11-0 libxcb-*
|
sudo apt-get install libgl1-mesa-dev libxkbcommon-x11-0 libxcb-*
|
||||||
echo ::set-env name=QMAKE_FLAGS::QMAKE_CXX=g++-9 QMAKE_CC=gcc-9
|
echo "QMAKE_FLAGS=QMAKE_CXX=g++-9 QMAKE_CC=gcc-9" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Cache dependencies
|
- name: Cache dependencies
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
@ -98,21 +98,21 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
python ./share/ci/appimage.py
|
python ./share/ci/appimage.py
|
||||||
echo ::set-env name=artifact::`python ./share/ci/appimage.py artifact_name`
|
echo "artifact=`python ./share/ci/appimage.py artifact_name`" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Create win deploy
|
- name: Create win deploy
|
||||||
if: runner.os == 'Windows'
|
if: runner.os == 'Windows'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
python ./share/ci/windeploy.py
|
python ./share/ci/windeploy.py
|
||||||
echo ::set-env name=artifact::`python ./share/ci/windeploy.py artifact_name`
|
echo "artifact=`python ./share/ci/windeploy.py artifact_name`" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Create mac deploy
|
- name: Create mac deploy
|
||||||
if: runner.os == 'macOS'
|
if: runner.os == 'macOS'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
python ./share/ci/macdeploy.py
|
python ./share/ci/macdeploy.py
|
||||||
echo ::set-env name=artifact::`python ./share/ci/macdeploy.py artifact_name`
|
echo "artifact=`python ./share/ci/macdeploy.py artifact_name`" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Upload build artifact
|
- name: Upload build artifact
|
||||||
if: env.artifact != ''
|
if: env.artifact != ''
|
||||||
@ -131,7 +131,7 @@ jobs:
|
|||||||
- name: Set release env
|
- name: Set release env
|
||||||
if: contains(github.ref, '/tags/')
|
if: contains(github.ref, '/tags/')
|
||||||
shell: bash
|
shell: bash
|
||||||
run: echo ::set-env name=upload_url::`cat ./release_upload_url`
|
run: echo "upload_url=`cat ./release_upload_url`" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Upload release artifacts
|
- name: Upload release artifacts
|
||||||
if: contains(github.ref, '/tags/')
|
if: contains(github.ref, '/tags/')
|
||||||
|
Loading…
Reference in New Issue
Block a user