Skip to content

Merge pull request #781 from playframework/mergify/bp/main/pr-779 #173

Merge pull request #781 from playframework/mergify/bp/main/pr-779

Merge pull request #781 from playframework/mergify/bp/main/pr-779 #173

name: Publish
on:
push:
branches: # Snapshots
- main
jobs:
publish-sources:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- 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