diff options
Diffstat (limited to '.github/workflows/android.yml')
-rw-r--r-- | .github/workflows/android.yml | 7 |
1 files changed, 7 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 |