Skip to content

Commit

Permalink
Update Readme & prepare new release (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
kai-tub authored Jul 1, 2024
1 parent c21344c commit 7bb7556
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion .github/workflows/build_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- run: nix build .#documentation-artifacts
- uses: actions/checkout@v4
with:
repository: kai-tub/latex-beamer-pure-minimalistic.wiki.git
repository: kai-tub/latex-beamer-pure-minimalistic.wiki
path: wiki
- run: |
echo "Copy documentation results to wiki"
Expand All @@ -45,3 +45,30 @@ jobs:
echo "annotate release if release triggered the workflow"
git tag --annotate --message "Release" ${{ github.ref_name }}
git push
- name: Create archives
# Add to release
- run: |
mkdir -p beamertheme-pure-minimalistic
install --mode=666 {*.sty,beamertheme-pure-minimalistic-demo.tex,./result/beamertheme-pure-minimalistic-demo.pdf,README.md,LICENSE,demo_bib.bib} beamertheme-pure-minimalistic/
cp -r logos beamertheme-pure-minimalistic/
zip -r beamertheme-pure-minimalistic.zip beamertheme-pure-minimalistic
tar cfvz beamertheme-pure-minimalistic.tar.gz beamertheme-pure-minimalistic
- name: Upload zip asset
uses: actions/upload-release-asset@v4
with:
upload_url: ${{ steps.release.outputs.upload_url }}
asset_path: ./beamertheme-pure-minimalistic.zip
asset_name: beamertheme-pure-minimalistic.zip
- name: Upload tar.gz asset
uses: actions/upload-release-asset@v4
with:
upload_url: ${{ steps.release.outputs.upload_url }}
asset_path: ./beamertheme-pure-minimalistic.tar.gz
asset_name: beamertheme-pure-minimalistic.tar.gz
- name: Upload beamertheme-pure-minimalistic-demo.pdf
uses: actions/upload-release-asset@v4
with:
upload_url: ${{ steps.release.outputs.upload_url }}
asset_path: beamertheme-pure-minimalistic/beamertheme-pure-minimalistic-demo.pdf
asset_name: beamertheme-pure-minimalistic-demo.pdf

0 comments on commit 7bb7556

Please sign in to comment.