Skip to content

Commit

Permalink
ci: try upload-release-artifact now
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeoneSerge committed Oct 19, 2020
1 parent 76b44e9 commit 39527be
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions .github/workflows/latexmk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,24 @@ jobs:
extra_nix_config: |
experimental-features = nix-command flakes
- run: nix build
- uses: actions/upload-artifact@v2
- run: mv result ms-thesis.pdf
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: ms-thesis.pdf
path: ./result
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- 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 }}
asset_path: ./ms-thesis.pdf
asset_name: ms-thesis.pdf
asset_content_type: application/pdf

0 comments on commit 39527be

Please sign in to comment.