Merge pull request #914 from playframework/mergify/bp/2.9.x/pr-913 #293
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: Publish | |
| on: | |
| push: | |
| branches: # Snapshots | |
| - 2.9.x | |
| jobs: | |
| publish-sources: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Package sources | |
| run: | | |
| ./sources.sh | |
| - name: Delete Release | |
| run: gh release delete v2.9.x --cleanup-tag || true | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Publish sources | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| prerelease: true | |
| name: v2.9.x | |
| tag_name: v2.9.x | |
| target_commitish: ${{ github.ref_name }} | |
| files: | | |
| *-example.zip | |
| *-tutorial.zip | |
| fail_on_unmatched_files: true |