Skip to content

Nightly

Nightly #45

Workflow file for this run

name: Nightly
on:
schedule:
- cron: '10 11 * * *' # 11:10@UTC, 3:10@LA
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
permissions:
contents: write
jobs:
prepare:
runs-on: ubuntu-latest
outputs:
DATE: ${{ steps.date.outputs.DATE }}
steps:
- uses: actions/checkout@v4
- name: Get Date
id: date
run: echo "DATE=$(date '+%Y%m%d' -d '-1 day')" >> $GITHUB_OUTPUT
package:
runs-on: ubuntu-latest
needs: prepare
steps:
- uses: actions/checkout@v4
- name: Package
run: .github/workflows/package.sh ${{ needs.prepare.outputs.DATE }}
- name: Archive package
uses: actions/cache/save@v4
with:
key: package-${{ needs.prepare.outputs.DATE }}
path: target/package