Skip to content

Commit

Permalink
Upload assets with Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nvdaes committed Mar 3, 2020
1 parent 5d7bbdb commit 332e6de
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@ jobs:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
"$This is the release {{ github.ref }} created with GitHub actions"
"This is the release ${{ github.ref }} created with GitHub actions"
draft: false
prerelease: endswith("${{ github.ref }}", "-dev")
prerelease: endsWith("${{ github.ref }}", "-dev")
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`.
asset_path: ./*.nvda-addon
asset_name: nvda-addon
asset_content_type: application/nvda-addon

0 comments on commit 332e6de

Please sign in to comment.