Skip to content

Commit

Permalink
fix: yet another attempt to upload artifacts (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmeesters committed Sep 25, 2024
1 parent fc01975 commit d8871f1
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

1 comment on commit d8871f1

@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.