diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-10-25 16:53:48 -0400 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-10-25 18:32:50 -0700 |
commit | f83505b554e0a0ac43dab5ce8503fbc100689644 (patch) | |
tree | 0ec3edf07249ff411d6d2d08fed8b214e4ed1d46 /.github/workflows/linux-trusty-5.12.yml | |
parent | a07c2feb9526e82111374bcac98deab7fbb71345 (diff) | |
download | subsurface-f83505b554e0a0ac43dab5ce8503fbc100689644.tar.gz |
GitHub Actions: push to transfer.sh for PRs, post release for pushes
This means that PRs from people using the main repo for their staging
branches will get both transfer.sh and a release.
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 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/linux-trusty-5.12.yml b/.github/workflows/linux-trusty-5.12.yml index 2b6b72e59..d7e4e1284 100644 --- a/.github/workflows/linux-trusty-5.12.yml +++ b/.github/workflows/linux-trusty-5.12.yml @@ -17,6 +17,7 @@ jobs: bash -x subsurface/.github/workflows/scripts/linux-in-container-build.sh - name: create CI release + if: github.event_name == 'pull_request' uses: ./.github/actions/release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -24,3 +25,9 @@ jobs: REF: ${{ github.ref }} COMMIT: ${{ github.sha }} BIN1: ./Subsurface.AppImage + + - name: copy to transfer.sh + if: github.event_name == 'push' + run: | + apt-get install -y curl + curl --upload-file Subsurface.AppImage "https://transfer.sh/Subsurface.AppImage |