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.yml29
1 files changed, 25 insertions, 4 deletions
diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml
index 0b7183c4e..6d3b422d0 100644
--- a/.github/workflows/mac.yml
+++ b/.github/workflows/mac.yml
@@ -76,9 +76,30 @@ jobs:
ln -s ${GRANTLEE_VERSION}/$(basename $i) .
popd
done
+ zip Subsurface.app.zip Subsurface.app
+ - name: store artifact
+ uses: actions/upload-artifact@master
+ with:
+ name: Subsurface.app.zip
+ path: build/Subsurface.app.zip
- - name: publish result
- uses: actions/upload-artifact@v1
+ publishRelease:
+ needs: desktopBuild
+ runs-on: ubuntu-latest
+ steps:
+ - name: checkout sources
+ uses: actions/checkout@v1
+ with:
+ fetch-depth: 1
+ - name: retrieve artifact
+ uses: actions/download-artifact@master
with:
- name: Subsurface-GitHub-Build.app
- path: build/Subsurface.app
+ name: Subsurface.app.zip
+ - name: create CI release
+ uses: ./.github/actions/release
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GITHUB_REPO: ${{ github.repository }}
+ REF: ${{ github.ref }}
+ COMMIT: ${{ github.sha }}
+ BIN1: Subsurface.app.zip