docs: add note about using original uncompressed images in export/import #15
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: Create Release and Upload Asset | |
| on: | |
| push: | |
| tags: | |
| - 'v*.*.*' | |
| jobs: | |
| build_and_upload: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Get tag version | |
| id: get_version | |
| run: echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV | |
| - name: Set version | |
| run: bash scripts/update_version.sh | |
| - name: Zip static files | |
| run: zip -r static-${{ env.TAG }}.zip static/ | |
| - name: Generate release notes (from remote script) | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| curl -fsSL "https://raw.githubusercontent.com/chenxuan520/gh-action-shell/main/git_commit_message_from_last_tag.sh" | bash 1>commit-message.log 2>/dev/null | |
| - name: Create GitHub Release and Upload Asset | |
| uses: softprops/action-gh-release@v2 | |
| if: startsWith(github.ref, 'refs/tags/') | |
| with: | |
| body_path: commit-message.log | |
| files: | | |
| static-${{ env.TAG }}.zip |