Merge pull request #927 from playframework/renovate/main-hibernate-core #305
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 | |
| - main | |
| jobs: | |
| publish-sources: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Package sources | |
| run: | | |
| ./sources.sh | |
| - name: Delete Release | |
| run: gh release delete nightly --cleanup-tag || true | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Publish nightly sources | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| prerelease: true | |
| name: nightly | |
| tag_name: nightly | |
| target_commitish: ${{ github.ref_name }} | |
| files: | | |
| *-example.zip | |
| fail_on_unmatched_files: true |