Skip to content

Commit

Permalink
Use get_release
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Nov 19, 2020
1 parent d6ed80f commit f8bd631
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,19 @@ jobs:
OPSCORE_DIR: ${{github.workspace}}/../opscore
ACTORKEYS_DIR: ${{github.workspace}}/../actorkeys

- name: Get release
id: get_release
uses: bruceadams/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: https://github.com/ApachePointObservatory/stui/releases/tag/refs/tags/${{ steps.tagName.outputs.tag }}
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: /Users/runner/STUI_${{ steps.tagName.outputs.tag }}_Source/BuildForMac/dist/STUI_${{ steps.tagName.outputs.tag }}_Mac.dmg
asset_name: STUI_${{ steps.tagName.outputs.tag }}_${{ matrix.os }}.dmg
asset_content_type: application/octet-stream

0 comments on commit f8bd631

Please sign in to comment.