Skip to content

Commit

Permalink
gnarf: trying with outdated release asset
Browse files Browse the repository at this point in the history
  • Loading branch information
cmeesters committed Sep 25, 2024
1 parent cdd6f95 commit b462e50
Showing 1 changed file with 21 additions and 12 deletions.
33 changes: 21 additions & 12 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,28 @@ jobs:
./render --master-tex Snakemake_HPC_User_Creator_Combi.tex \
--configfile config/config_for_github.yaml
./render --master-tex Snakemake_HPC_Admins.tex \
--configfile config/config_for_github.yaml
- name: Upload Release Artifacts
if: ${{ steps.release.outputs.release_created }}
uses: actions/upload-artifact@v4
--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:
name: Slides
path: |
slides/Snakemake_HPC_Creators.pdf;
slides/Snakemake_HPC_Users.pdf;
slides/Snakemake_HPC_User_Creator_Combi.pdf;
slides/Snakemake_HPC_Admins.pdf;
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
#with:
#name: Slides
#path: |
# slides/Snakemake_HPC_Creators.pdf;
# slides/Snakemake_HPC_Users.pdf;
# slides/Snakemake_HPC_User_Creator_Combi.pdf;
# slides/Snakemake_HPC_Admins.pdf;

release-please:
runs-on: ubuntu-latest
Expand Down

1 comment on commit b462e50

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Artifacts

Please # to comment.