Highlight AI-assisted development #2
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 Snapshot | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: write | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Build release metadata | |
| id: meta | |
| run: | | |
| echo "tag=main-${GITHUB_RUN_NUMBER}" >> "$GITHUB_OUTPUT" | |
| echo "name=Main snapshot #${GITHUB_RUN_NUMBER}" >> "$GITHUB_OUTPUT" | |
| - name: Create GitHub prerelease | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| tag_name: ${{ steps.meta.outputs.tag }} | |
| name: ${{ steps.meta.outputs.name }} | |
| target_commitish: ${{ github.sha }} | |
| generate_release_notes: true | |
| prerelease: true |