Skip to content

Nightly

Nightly #5

Workflow file for this run

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