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:
- 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