diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-10-26 22:28:30 -0400 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-10-27 03:42:04 -0700 |
commit | 6b080525b24ed1d57de7605ee9faef9ed80af774 (patch) | |
tree | a83d996d4b1982f06b0973c433dd7a3bf07fbfac /.github/workflows/linux-trusty-5.12.yml | |
parent | 7b45b930806b78a33eba3bc9f48496d64a2faf00 (diff) | |
download | subsurface-6b080525b24ed1d57de7605ee9faef9ed80af774.tar.gz |
GitHub Actions: switch back to the GitHub artifacts for PRs
transfer.sh has suddenly started to time out. And for the rather
occasional need of having a binary to test from a PR, this should be
good enough.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to '.github/workflows/linux-trusty-5.12.yml')
-rw-r--r-- | .github/workflows/linux-trusty-5.12.yml | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/.github/workflows/linux-trusty-5.12.yml b/.github/workflows/linux-trusty-5.12.yml index b0270d70c..9783cc301 100644 --- a/.github/workflows/linux-trusty-5.12.yml +++ b/.github/workflows/linux-trusty-5.12.yml @@ -23,7 +23,7 @@ jobs: bash -x subsurface/.github/workflows/scripts/linux-in-container-build.sh - 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 }} @@ -32,9 +32,15 @@ jobs: COMMIT: ${{ github.sha }} BIN1: ./Subsurface.AppImage - - name: copy to transfer.sh - if: github.event_name == 'push' + - name: prepare PR artifacts + if: github.event_name == 'pull_request' run: | - apt-get update - apt-get install -y curl - curl --upload-file Subsurface.AppImage "https://transfer.sh/Subsurface.AppImage" + mkdir -p Linux-artifacts + mv Subsurface.AppImage Linux-artifacts + + - name: PR artifacts + if: github.event_name == 'pull_request' + uses: actions/upload-artifact@master + with: + name: Linux-artifacts + path: Linux-artifacts |