Release #3
Workflow file for this run
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
name: Release | |
on: | |
release: | |
types: [published] | |
permissions: | |
contents: write | |
jobs: | |
release: | |
timeout-minutes: 5 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v2 | |
- name: Install dependencies | |
run: bun install | |
- name: Install Playwright Browsers | |
run: npx playwright install --with-deps | |
- name: Generate PDF's | |
run: bun generate | |
- name: Upload PDF's | |
run: | | |
for file in ./storage/*.pdf; do | |
echo $file | |
gh release upload ${{github.event.release.tag_name}} $file | |
done | |
env: | |
GITHUB_TOKEN: ${{ github.TOKEN }} |