GitHub Actions: fix several errors in previous commits

I have no excuse.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2019-10-25 22:07:03 -04:00
parent 2aac551089
commit d4ce793540
4 changed files with 9 additions and 9 deletions

View file

@ -29,7 +29,7 @@ jobs:
cp /__w/subsurface/subsurface-mobile-build-arm//build/outputs/apk/debug/subsurface-mobile-build-arm-debug.apk ${GITHUB_WORKSPACE}/Subsurface-mobile.apk
- name: create CI release
if: github.event_name == 'pull_request'
if: github.event_name == 'push'
uses: ./.github/actions/release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -40,9 +40,9 @@ jobs:
BIN2: ./Subsurface-mobile.arm64.apk
- name: copy to transfer.sh
if: github.event_name == 'push'
if: github.event_name == 'pull_request'
run: |
apt-get update
apt-get install -y curl
curl --upload-file Subsurface-mobile.apk "https://transfer.sh/Subsurface-mobile.apk
curl --upload-file Subsurface-mobile.arm64.apk "https://transfer.sh/Subsurface-mobile.arm64.apk
curl --upload-file Subsurface-mobile.apk "https://transfer.sh/Subsurface-mobile.apk"
curl --upload-file Subsurface-mobile.arm64.apk "https://transfer.sh/Subsurface-mobile.arm64.apk"

View file

@ -37,4 +37,4 @@ jobs:
run: |
apt-get update
apt-get install -y curl
curl --upload-file Subsurface.AppImage "https://transfer.sh/Subsurface.AppImage
curl --upload-file Subsurface.AppImage "https://transfer.sh/Subsurface.AppImage"

View file

@ -102,7 +102,7 @@ jobs:
with:
name: Subsurface.app.zip
- name: create CI release
if: github.event_name == 'pull_request'
if: github.event_name == 'push'
uses: ./.github/actions/release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -112,6 +112,6 @@ jobs:
BIN1: Subsurface.app.zip
- name: copy to transfer.sh
if: github.event_name == 'push'
if: github.event_name == 'pull_request'
run: |
curl --upload-file Subsurface.app.zip "https://transfer.sh/Subsurface.app.zip"

View file

@ -40,7 +40,7 @@ jobs:
grep "Built target installer" build.log
- name: create CI release
if: github.event_name == 'pull_request'
if: github.event_name == 'push'
uses: ./.github/actions/release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -54,7 +54,7 @@ jobs:
BIN5: ./smtk2ssrf.exe
- name: copy to transfer.sh
if: github.event_name == 'push'
if: github.event_name == 'pull_request'
run: |
apt-get update
apt-get install -y curl