summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/android.yml8
-rw-r--r--.github/workflows/linux-trusty-5.12.yml2
-rw-r--r--.github/workflows/mac.yml4
-rw-r--r--.github/workflows/windows.yml4
4 files changed, 9 insertions, 9 deletions
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml
index 70a5f1575..c4580bc08 100644
--- a/.github/workflows/android.yml
+++ b/.github/workflows/android.yml
@@ -29,7 +29,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'
+ if: github.event_name == 'push'
uses: ./.github/actions/release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -40,9 +40,9 @@ jobs:
BIN2: ./Subsurface-mobile.arm64.apk
- name: copy to transfer.sh
- if: github.event_name == 'push'
+ if: github.event_name == 'pull_request'
run: |
apt-get update
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
+ 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 3b10a51d5..b0270d70c 100644
--- a/.github/workflows/linux-trusty-5.12.yml
+++ b/.github/workflows/linux-trusty-5.12.yml
@@ -37,4 +37,4 @@ jobs:
run: |
apt-get update
apt-get install -y curl
- curl --upload-file Subsurface.AppImage "https://transfer.sh/Subsurface.AppImage
+ curl --upload-file Subsurface.AppImage "https://transfer.sh/Subsurface.AppImage"
diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml
index 109689dca..8db307064 100644
--- a/.github/workflows/mac.yml
+++ b/.github/workflows/mac.yml
@@ -102,7 +102,7 @@ jobs:
with:
name: Subsurface.app.zip
- name: create CI release
- if: github.event_name == 'pull_request'
+ if: github.event_name == 'push'
uses: ./.github/actions/release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -112,6 +112,6 @@ jobs:
BIN1: Subsurface.app.zip
- name: copy to transfer.sh
- if: github.event_name == 'push'
+ if: github.event_name == 'pull_request'
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 490008a8b..680399ead 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -40,7 +40,7 @@ jobs:
grep "Built target installer" build.log
- name: create CI release
- if: github.event_name == 'pull_request'
+ if: github.event_name == 'push'
uses: ./.github/actions/release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -54,7 +54,7 @@ jobs:
BIN5: ./smtk2ssrf.exe
- name: copy to transfer.sh
- if: github.event_name == 'push'
+ if: github.event_name == 'pull_request'
run: |
apt-get update
apt-get install -y curl