From b3f47509fc052463f9f39ccee1c73599c6e8ad76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6kelmann?= Date: Tue, 28 Nov 2023 14:58:27 +0100 Subject: [PATCH] adds upload of pdf to CI --- .github/workflows/make_release.yml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/make_release.yml b/.github/workflows/make_release.yml index a650f97..3af8bd3 100644 --- a/.github/workflows/make_release.yml +++ b/.github/workflows/make_release.yml @@ -23,18 +23,11 @@ jobs: name: Compiled-PDF path: OmniView.pdf - release: - needs: build - runs-on: ubuntu-latest - steps: - - name: Download Artifact - uses: actions/download-artifact@v2 - with: - name: Compiled-PDF - - name: Create Release uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') with: - files: Compiled-PDF/OmniView.pdf - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + files: OmniView.pdf + draft: false + prerelease: false + token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file