Skip to content

Deploy weekly prerelease #49

Deploy weekly prerelease

Deploy weekly prerelease #49

Workflow file for this run

---
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: ${{ github.repository_owner == 'oneapi-src' && 'intel-ubuntu-22.04' || '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}}