diff --git a/.github/workflows/macos.yaml b/.github/workflows/macos.yaml index 1fc5f16..edbe43f 100644 --- a/.github/workflows/macos.yaml +++ b/.github/workflows/macos.yaml @@ -4,10 +4,8 @@ name: MacOS Builder on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] + release: + types: [created] jobs: @@ -51,3 +49,12 @@ jobs: - name: ls run: ls -la + - uses: shogo82148/actions-upload-release-asset@v1 + with: + upload_url: ${{ github.event.release.upload_url }} + asset_path: update-darwin-amd64.gz + - uses: shogo82148/actions-upload-release-asset@v1 + with: + upload_url: ${{ github.event.release.upload_url }} + asset_path: albiondata-client-amd64-mac.zip +