From 59a58e92d7cff5059f538b49378d2f89b4e3a515 Mon Sep 17 00:00:00 2001 From: fjavierm Date: Fri, 26 Apr 2024 20:10:35 +0100 Subject: [PATCH] Creates the tag differently --- .github/workflows/release-pdf-action.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-pdf-action.yaml b/.github/workflows/release-pdf-action.yaml index c930557..bf11847 100644 --- a/.github/workflows/release-pdf-action.yaml +++ b/.github/workflows/release-pdf-action.yaml @@ -4,7 +4,7 @@ on: push: tags: - '*' - workflow_dispatch: + workflow_dispatch: # Allow manual triggering jobs: generate-pdf-release: @@ -18,6 +18,9 @@ jobs: uses: actions/setup-python@v4 with: python-version: '3.12' + + - name: Install dependencies + run: pip install -r requirements.txt - name: Generate PDF run: python security-plus-all.py @@ -28,8 +31,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} + tag_name: ${{ github.event.ref }} + release_name: Release ${{ github.event.ref }} body: | Automated release generated from markdown files. draft: false