From b865ddcea3866f6b54a2ffcf36185615d23f88a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Mur=C3=A7a?= Date: Thu, 6 Mar 2025 23:41:26 -0300 Subject: [PATCH] Fix release.yml --- .forgejo/workflows/release.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml index ee5f3ea..d952982 100644 --- a/.forgejo/workflows/release.yml +++ b/.forgejo/workflows/release.yml @@ -31,21 +31,21 @@ jobs: run: | pdflatex main.tex - - name: Create release - uses: actions/forgejo-release@v2 - with: - token: ${{ secrets.RELEASE_TOKEN }} - release-dir: ./ - direction: upload - url: https://git.leomurca.xyz - repo: leomurca/resume - title: "New release!" - release-notes: "MY RELEASE NOTES" - - # Step 5: Upload the compiled PDF as a release asset + # Step 4: Upload the compiled PDF as a release asset - name: Upload PDF to Release uses: actions/upload-artifact@v3 with: name: main.pdf # The file to upload as the release asset path: main.pdf # Path to the compiled PDF + - name: Create release + uses: actions/forgejo-release@v2 + with: + token: ${{ secrets.RELEASE_TOKEN }} + release-dir: / + direction: upload + url: https://git.leomurca.xyz + repo: leomurca/resume + title: "New release!" + release-notes: "MY RELEASE NOTES" +