ci: add release workflow for pdflux-saas-markdown #1
Workflow file for this run
This file contains hidden or 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 pdflux-saas-markdown | |
| on: | |
| push: | |
| tags: | |
| - "v*" | |
| permissions: | |
| contents: write | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Build release archive | |
| env: | |
| ARCHIVE_NAME: pdflux-saas-markdown-${{ github.ref_name }}.zip | |
| run: | | |
| rm -f "$ARCHIVE_NAME" | |
| zip -r "$ARCHIVE_NAME" pdflux-saas-markdown | |
| - name: Publish release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| tag_name: ${{ github.ref_name }} | |
| name: ${{ github.ref_name }} | |
| files: pdflux-saas-markdown-${{ github.ref_name }}.zip | |
| generate_release_notes: true | |
| overwrite_files: true |