summaryrefslogtreecommitdiffstats
path: root/.github/workflows/mac.yml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-26 22:28:30 -0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-27 03:42:04 -0700
commit6b080525b24ed1d57de7605ee9faef9ed80af774 (patch)
treea83d996d4b1982f06b0973c433dd7a3bf07fbfac /.github/workflows/mac.yml
parent7b45b930806b78a33eba3bc9f48496d64a2faf00 (diff)
downloadsubsurface-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/mac.yml')
-rw-r--r--.github/workflows/mac.yml12
1 files changed, 10 insertions, 2 deletions
diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml
index 8db307064..515c7e37f 100644
--- a/.github/workflows/mac.yml
+++ b/.github/workflows/mac.yml
@@ -111,7 +111,15 @@ jobs:
COMMIT: ${{ github.sha }}
BIN1: Subsurface.app.zip
- - name: copy to transfer.sh
+ - name: prepare PR artifacts
if: github.event_name == 'pull_request'
run: |
- curl --upload-file Subsurface.app.zip "https://transfer.sh/Subsurface.app.zip"
+ mkdir -p Mac-artifacts
+ mv Subsurface.app.zip Mac-artifacts
+
+ - name: PR artifacts
+ if: github.event_name == 'pull_request'
+ uses: actions/upload-artifact@master
+ with:
+ name: Mac-artifacts
+ path: Mac-artifacts