diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/android.yml | 7 | ||||
-rw-r--r-- | .github/workflows/linux-trusty-5.12.yml | 7 | ||||
-rw-r--r-- | .github/workflows/mac.yml | 6 | ||||
-rw-r--r-- | .github/workflows/windows.yml | 10 |
4 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 4f6d0425e..cfb22b357 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -23,6 +23,7 @@ jobs: cp /__w/subsurface/subsurface-mobile-build-arm//build/outputs/apk/debug/subsurface-mobile-build-arm-debug.apk ${GITHUB_WORKSPACE}/Subsurface-mobile.apk - name: create CI release + if: github.event_name == 'pull_request' uses: ./.github/actions/release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -32,3 +33,9 @@ jobs: BIN1: ./Subsurface-mobile.apk BIN2: ./Subsurface-mobile.arm64.apk + - name: copy to transfer.sh + if: github.event_name == 'push' + run: | + apt-get install -y curl + 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 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 diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index b6caf0817..3b2ea67c8 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -96,6 +96,7 @@ jobs: with: name: Subsurface.app.zip - name: create CI release + if: github.event_name == 'pull_request' uses: ./.github/actions/release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -103,3 +104,8 @@ jobs: REF: ${{ github.ref }} COMMIT: ${{ github.sha }} BIN1: Subsurface.app.zip + + - name: copy to transfer.sh + if: github.event_name == 'push' + run: | + curl --upload-file Subsurface.app.zip "https://transfer.sh/Subsurface.app.zip" diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 34714fdd4..96dc72c4a 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -34,6 +34,7 @@ jobs: grep "Built target installer" build.log - name: create CI release + if: github.event_name == 'pull_request' uses: ./.github/actions/release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -46,3 +47,12 @@ jobs: BIN4: ./smtk2ssrf-installer.exe BIN5: ./smtk2ssrf.exe + - name: copy to transfer.sh + if: github.event_name == 'push' + run: | + 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 |