Deploy weekly prerelease #2
This file contains 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: Deploy weekly prerelease | |
on: | |
schedule: | |
# At 23:00 on Friday, GitHub actions schedule is in UTC time. | |
- cron: 0 23 * * 5 | |
permissions: | |
contents: read | |
jobs: | |
weekly-prerelease: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Create weekly prerelease | |
run: | |
gh release create --prerelease --title "Weekly Stable Snapshot $(date +%Y/%m/%d)" weekly-$(date +%Y-%m-%d) | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |