Tag Weekly Release #11
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: Tag Weekly Release | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 4 * * 0' | |
jobs: | |
tag: | |
name: Tag Weekly Release | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK 17 | |
uses: actions/[email protected] | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Tag Weekly Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.TAG_PUSH_TOKEN }} | |
run: ./gradlew :reckonTagPush -Preckon.stage=final | |
- name: Trigger Workflow | |
uses: actions/github-script@v7 | |
with: | |
script: | | |
github.rest.actions.createWorkflowDispatch({ | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
workflow_id: 'release_to_internal_or_beta.yml', | |
ref: 'development', | |
inputs: { | |
"release_type": "beta", | |
}, | |
}) |