wip
Some checks failed
Build and Release / build (push) Has been cancelled

This commit is contained in:
Nareshkumar Rao 2025-03-23 03:19:36 +01:00
parent 7f08b6d38e
commit ec4d31598b

View File

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