mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
a07c2feb95
commit
f83505b554
4 changed files with 30 additions and 0 deletions
7
.github/workflows/linux-trusty-5.12.yml
vendored
7
.github/workflows/linux-trusty-5.12.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue