summaryrefslogtreecommitdiffstats
path: root/.github/workflows/mac.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/mac.yml')
-rw-r--r--.github/workflows/mac.yml6
1 files changed, 6 insertions, 0 deletions
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"