Try a different action
All checks were successful
Render LaTeX and Publish Release / build (push) Successful in 1m3s
All checks were successful
Render LaTeX and Publish Release / build (push) Successful in 1m3s
This commit is contained in:
parent
b0d6a33fd4
commit
450c0b5cc6
44
.github/workflows/build.yml
vendored
44
.github/workflows/build.yml
vendored
@ -31,24 +31,30 @@ jobs:
|
||||
- name: Run Tectonic
|
||||
run: tectonic cv.tex
|
||||
|
||||
- name: Create Release
|
||||
uses: actions/create-release@v1
|
||||
id: create_release
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
draft: false
|
||||
prerelease: false
|
||||
# Ref will be tag in this context
|
||||
release_name: ${{ github.ref_name }}
|
||||
tag_name: ${{ github.ref_name }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
files: |
|
||||
cv.pdf
|
||||
|
||||
- name: Upload assembled CV
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./cv.pdf
|
||||
asset_name: cv.pdf
|
||||
asset_content_type: application/pdf
|
||||
# - name: Create Release
|
||||
# uses: actions/create-release@v1
|
||||
# id: create_release
|
||||
# with:
|
||||
# draft: false
|
||||
# prerelease: false
|
||||
# # Ref will be tag in this context
|
||||
# release_name: ${{ github.ref_name }}
|
||||
# tag_name: ${{ github.ref_name }}
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ github.token }}
|
||||
|
||||
# - name: Upload assembled CV
|
||||
# uses: actions/upload-release-asset@v1
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ github.token }}
|
||||
# with:
|
||||
# upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
# asset_path: ./cv.pdf
|
||||
# asset_name: cv.pdf
|
||||
# asset_content_type: application/pdf
|
||||
|
||||
Loading…
Reference in New Issue
Block a user