2022-08-24 15:17:31 +02:00
|
|
|
name: Nightly
|
|
|
|
|
|
|
|
on:
|
2022-09-01 23:16:28 +02:00
|
|
|
workflow_dispatch:
|
2022-08-24 15:17:31 +02:00
|
|
|
schedule:
|
2022-09-08 16:51:43 +02:00
|
|
|
- cron: '0 19 * * 1,4'
|
2022-08-24 15:17:31 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
check-develop-beta-changes:
|
|
|
|
name: Check if develop is ahead of beta release
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- uses: actions/setup-node@v3
|
|
|
|
with:
|
|
|
|
node-version:
|
|
|
|
16
|
|
|
|
- run: npm ci
|
|
|
|
working-directory: ./tools/beta-release/
|
|
|
|
|
|
|
|
- uses: actions/github-script@v6
|
|
|
|
with:
|
2022-09-01 23:49:00 +02:00
|
|
|
github-token: ${{ secrets.MY_PAT }}
|
2022-08-24 15:17:31 +02:00
|
|
|
script: |
|
2022-08-24 16:15:26 +02:00
|
|
|
const { startReleaseProcess } = await import('${{ github.workspace }}/tools/beta-release/app.js')
|
|
|
|
await startReleaseProcess({github, context, core})
|
2022-08-24 15:17:31 +02:00
|
|
|
|