Nightly #5
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: Nightly | |
| on: | |
| schedule: | |
| - cron: '17 3 * * *' | |
| workflow_dispatch: | |
| concurrency: | |
| group: "nightly" | |
| cancel-in-progress: false | |
| permissions: | |
| contents: write | |
| id-token: write | |
| attestations: write | |
| artifact-metadata: write | |
| jobs: | |
| nightly: | |
| runs-on: ubuntu-latest | |
| if: github.repository == 'galette-plugins/plugin-oauth2' | |
| steps: | |
| # bin/release -n resolves the local develop branch, so it has to exist. | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| with: | |
| ref: develop | |
| fetch-depth: 1 | |
| # Not the default `nightly`: that name once carried an immutable release | |
| # here, and deleting one burns its tag for good — GitHub refuses to create | |
| # the ref at all. The archive is still galette-plugin-oauth2-dev.tar.bz2. | |
| - name: Build and publish | |
| uses: galette/.github/actions/release-plugin@main | |
| with: | |
| nightly-tag: dev |