Merge pull request #1513 from scala-steward/update/2.9.x/patches #661
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@v7 | |
| - 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@v3 | |
| 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 |