summaryrefslogtreecommitdiffstats
path: root/.github/workflows/windows.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/windows.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/windows.yml')
-rw-r--r--.github/workflows/windows.yml18
1 files changed, 10 insertions, 8 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 8e0557a43..b8a3030de 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -53,13 +53,15 @@ jobs:
BIN4: ./smtk2ssrf-installer.exe
BIN5: ./smtk2ssrf.exe
- - name: copy to transfer.sh
+ - name: prepare PR artifacts
if: github.event_name == 'pull_request'
run: |
- apt-get update
- apt-get install -y curl
- curl --upload-file subsurface-installer.exe "https://transfer.sh/subsurface-installer.exe"
- curl --upload-file subsurface.exe "https://transfer.sh/subsurface.exe"
- curl --upload-file subsurface.exe.debug "https://transfer.sh/subsurface.exe.debug"
- curl --upload-file smtk2ssrf-installer.exe "https://transfer.sh/smtk2ssrf-installer.exe"
- curl --upload-file smtk2ssrf.exe "https://transfer.sh/smtk2ssrf.exe"
+ mkdir -p Windows-artifacts
+ mv ./subsurface-installer.exe ./subsurface.exe ./subsurface.exe.debug ./smtk2ssrf-installer.exe ./smtk2ssrf.exe Windows-artifacts
+
+ - name: PR artifacts
+ if: github.event_name == 'pull_request'
+ uses: actions/upload-artifact@master
+ with:
+ name: Windows-artifacts
+ path: Windows-artifacts