From 153d1d408290b36d73b768e59756b10afcca30a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Mur=C3=A7a?= Date: Thu, 6 Mar 2025 23:30:22 -0300 Subject: [PATCH] Add upload step --- .forgejo/workflows/release.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml index 4ebf614..1bb1a45 100644 --- a/.forgejo/workflows/release.yml +++ b/.forgejo/workflows/release.yml @@ -40,6 +40,12 @@ jobs: release-dir: / token: ${{ secrets.RELEASE_TOKEN }} release-notes: "MY RELEASE NOTES" - release-name: "Release ${GITHUB_REF}" # Provide a release name (title) - tag-name: ${{ github.ref }} + tag: ${{ github.ref }} + + # Step 5: 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