fix: outcommented 'package-name' not allowed (#170) #58
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
name: release-please | |
jobs: | |
build: | |
name: Release Artifacts | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: sudo apt-get update && sudo apt-get install -y --no-install-recommends | |
python3-yaml | |
texlive | |
texlive-fonts-extra | |
texlive-latex-extra | |
texlive-luatex | |
texlive-pictures | |
texlive-plain-generic | |
texlive-pstricks | |
texlive-science | |
latexmk | |
ghostscript | |
poppler-utils | |
- name: LaTeX compile | |
run: | | |
./render --master-tex Snakemake_HPC_Users.tex \ | |
--configfile config/config_for_github.yaml ; | |
./render --master-tex Snakemake_HPC_Creators.tex \ | |
--configfile config/config_for_github.yaml; | |
./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; | |
zip slides slides/*pdf | |
# - 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 | |
needs: build | |
steps: | |
- uses: googleapis/release-please-action@v4 | |
id: release | |
with: | |
release-type: simple | |
# 'package-name' not allowed here. | |
#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.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 |