This commit is contained in:
parent
7f08b6d38e
commit
ec4d31598b
@ -11,10 +11,10 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build LaTeX
|
||||
uses: nareshkumarrao/texliveonfly
|
||||
uses: nareshkumarrao/texliveonfly@latest
|
||||
with:
|
||||
run: |
|
||||
tlmgr update --self --all
|
||||
@ -24,26 +24,26 @@ jobs:
|
||||
biber main
|
||||
texliveonfly Main.tex
|
||||
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ github.ref }}
|
||||
release_name: Release ${{ github.ref }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
# - name: Create Release
|
||||
# id: create_release
|
||||
# uses: actions/create-release@v1
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# with:
|
||||
# tag_name: ${{ github.ref }}
|
||||
# release_name: Release ${{ github.ref }}
|
||||
# draft: false
|
||||
# prerelease: false
|
||||
|
||||
- name: Upload PDF to Release
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./Main.pdf
|
||||
asset_name: Main.pdf
|
||||
asset_content_type: application/pdf
|
||||
# - name: Upload PDF to Release
|
||||
# uses: actions/upload-release-asset@v1
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# with:
|
||||
# upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
# asset_path: ./Main.pdf
|
||||
# asset_name: Main.pdf
|
||||
# asset_content_type: application/pdf
|
||||
|
||||
# - name: Upload to FTP
|
||||
# uses: SamKirkland/FTP-Deploy-Action@v4.3.4
|
||||
|
Loading…
x
Reference in New Issue
Block a user