mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:33:24 +00:00
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>
This commit is contained in:
parent
7b45b93080
commit
6b080525b2
4 changed files with 42 additions and 21 deletions
15
.github/workflows/android.yml
vendored
15
.github/workflows/android.yml
vendored
|
@ -39,10 +39,15 @@ jobs:
|
||||||
BIN1: ./Subsurface-mobile.apk
|
BIN1: ./Subsurface-mobile.apk
|
||||||
BIN2: ./Subsurface-mobile.arm64.apk
|
BIN2: ./Subsurface-mobile.arm64.apk
|
||||||
|
|
||||||
- name: copy to transfer.sh
|
- name: prepare PR artifacts
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
mkdir -p Android-artifacts
|
||||||
apt-get install -y curl
|
mv Subsurface-mobile.apk Subsurface-mobile.arm64.apk Android-artifacts
|
||||||
curl --upload-file Subsurface-mobile.apk "https://transfer.sh/Subsurface-mobile.apk"
|
|
||||||
curl --upload-file Subsurface-mobile.arm64.apk "https://transfer.sh/Subsurface-mobile.arm64.apk"
|
- name: PR artifacts
|
||||||
|
if: github.event_name == 'pull_request'
|
||||||
|
uses: actions/upload-artifact@master
|
||||||
|
with:
|
||||||
|
name: Android-artifacts
|
||||||
|
path: Android-artifacts
|
||||||
|
|
18
.github/workflows/linux-trusty-5.12.yml
vendored
18
.github/workflows/linux-trusty-5.12.yml
vendored
|
@ -23,7 +23,7 @@ jobs:
|
||||||
bash -x subsurface/.github/workflows/scripts/linux-in-container-build.sh
|
bash -x subsurface/.github/workflows/scripts/linux-in-container-build.sh
|
||||||
|
|
||||||
- name: create CI release
|
- name: create CI release
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'push'
|
||||||
uses: ./.github/actions/release
|
uses: ./.github/actions/release
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
@ -32,9 +32,15 @@ jobs:
|
||||||
COMMIT: ${{ github.sha }}
|
COMMIT: ${{ github.sha }}
|
||||||
BIN1: ./Subsurface.AppImage
|
BIN1: ./Subsurface.AppImage
|
||||||
|
|
||||||
- name: copy to transfer.sh
|
- name: prepare PR artifacts
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'pull_request'
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
mkdir -p Linux-artifacts
|
||||||
apt-get install -y curl
|
mv Subsurface.AppImage Linux-artifacts
|
||||||
curl --upload-file Subsurface.AppImage "https://transfer.sh/Subsurface.AppImage"
|
|
||||||
|
- name: PR artifacts
|
||||||
|
if: github.event_name == 'pull_request'
|
||||||
|
uses: actions/upload-artifact@master
|
||||||
|
with:
|
||||||
|
name: Linux-artifacts
|
||||||
|
path: Linux-artifacts
|
||||||
|
|
12
.github/workflows/mac.yml
vendored
12
.github/workflows/mac.yml
vendored
|
@ -111,7 +111,15 @@ jobs:
|
||||||
COMMIT: ${{ github.sha }}
|
COMMIT: ${{ github.sha }}
|
||||||
BIN1: Subsurface.app.zip
|
BIN1: Subsurface.app.zip
|
||||||
|
|
||||||
- name: copy to transfer.sh
|
- name: prepare PR artifacts
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
run: |
|
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
|
||||||
|
|
18
.github/workflows/windows.yml
vendored
18
.github/workflows/windows.yml
vendored
|
@ -53,13 +53,15 @@ jobs:
|
||||||
BIN4: ./smtk2ssrf-installer.exe
|
BIN4: ./smtk2ssrf-installer.exe
|
||||||
BIN5: ./smtk2ssrf.exe
|
BIN5: ./smtk2ssrf.exe
|
||||||
|
|
||||||
- name: copy to transfer.sh
|
- name: prepare PR artifacts
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
mkdir -p Windows-artifacts
|
||||||
apt-get install -y curl
|
mv ./subsurface-installer.exe ./subsurface.exe ./subsurface.exe.debug ./smtk2ssrf-installer.exe ./smtk2ssrf.exe Windows-artifacts
|
||||||
curl --upload-file subsurface-installer.exe "https://transfer.sh/subsurface-installer.exe"
|
|
||||||
curl --upload-file subsurface.exe "https://transfer.sh/subsurface.exe"
|
- name: PR artifacts
|
||||||
curl --upload-file subsurface.exe.debug "https://transfer.sh/subsurface.exe.debug"
|
if: github.event_name == 'pull_request'
|
||||||
curl --upload-file smtk2ssrf-installer.exe "https://transfer.sh/smtk2ssrf-installer.exe"
|
uses: actions/upload-artifact@master
|
||||||
curl --upload-file smtk2ssrf.exe "https://transfer.sh/smtk2ssrf.exe"
|
with:
|
||||||
|
name: Windows-artifacts
|
||||||
|
path: Windows-artifacts
|
||||||
|
|
Loading…
Add table
Reference in a new issue