Skip to content

Commit

Permalink
Upload assets
Browse files Browse the repository at this point in the history
  • Loading branch information
timofurrer committed Jan 9, 2020
1 parent 143ede3 commit 4394564
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,21 @@ jobs:
prerelease: false
- name: Upload Slides
if: startsWith(github.event.ref, 'refs/tags')
id: upload-release-asset
uses: actions/upload-release-asset@v1.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: GitWorkshop_Slides_*.pdf
asset_name: Slides
asset_content_type: application/pdf
- name: Upload Handout
if: startsWith(github.event.ref, 'refs/tags')
uses: actions/upload-release-asset@v1.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: GitWorkshop_Handout_*.pdf
asset_name: Handout
asset_content_type: application/pdf

0 comments on commit 4394564

Please # to comment.