From 3bdd7b33175a537d4477384ccdb1b450a1a6506a Mon Sep 17 00:00:00 2001 From: Christian Meesters Date: Wed, 25 Sep 2024 23:05:51 +0200 Subject: [PATCH] fix: yet another attempt to upload artifacts --- .github/workflows/release-please.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 5cf7276..819b036 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -35,16 +35,6 @@ jobs: ./render --master-tex Snakemake_HPC_Admins.tex \ --configfile config/config_for_github.yaml; zip slides slides/*pdf - - name: Upload Release Asset - id: upload-release-asset - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps - asset_path: ./slides.zip - asset_name: slides.zip - asset_content_type: slide/zip # - name: Upload Release Artifacts #if: ${{ steps.release.outputs.release_created }} #uses: actions/upload-artifact@v4 @@ -65,3 +55,13 @@ jobs: with: release-type: simple package-name: "snakemake-hpc-teaching-material" + - uses: actions/upload-release-asset@v1 + id: upload-release-asset + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.release-please.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps + asset_path: ./slides.zip + asset_name: slides.zip + asset_content_type: slide/zip + # - name: Upload Release Artifacts