2023-06-26 13:05:17 +00:00
|
|
|
name: Tag Weekly Release
|
2020-09-02 04:34:19 +00:00
|
|
|
|
|
|
|
on:
|
2020-10-16 13:33:03 +00:00
|
|
|
workflow_dispatch:
|
2020-09-02 04:34:19 +00:00
|
|
|
schedule:
|
2020-10-21 12:44:04 +00:00
|
|
|
- cron: '0 4 * * 0'
|
2020-09-02 04:34:19 +00:00
|
|
|
jobs:
|
2023-06-26 13:05:17 +00:00
|
|
|
tag:
|
|
|
|
name: Tag Weekly Release
|
2020-09-02 04:34:19 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-09-06 12:33:14 +00:00
|
|
|
- uses: actions/checkout@v4
|
2020-09-02 04:34:19 +00:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
|
2023-04-25 01:05:20 +00:00
|
|
|
- name: Set up JDK 17
|
2024-03-16 20:23:30 +00:00
|
|
|
uses: actions/setup-java@v4.2.1
|
2020-09-02 04:34:19 +00:00
|
|
|
with:
|
2022-12-31 00:52:44 +00:00
|
|
|
distribution: 'temurin'
|
2023-04-25 01:05:20 +00:00
|
|
|
java-version: '17'
|
2020-09-02 04:34:19 +00:00
|
|
|
|
2023-06-26 13:05:17 +00:00
|
|
|
- name: Tag Weekly Release
|
2023-07-02 19:54:43 +00:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.TAG_PUSH_TOKEN }}
|
2023-06-26 13:05:17 +00:00
|
|
|
run: ./gradlew :reckonTagPush -Preckon.stage=final
|
2023-07-09 12:16:02 +00:00
|
|
|
|
|
|
|
- name: Trigger Workflow
|
2023-11-22 17:57:56 +00:00
|
|
|
uses: actions/github-script@v7
|
2023-07-09 12:16:02 +00:00
|
|
|
with:
|
|
|
|
script: |
|
|
|
|
github.rest.actions.createWorkflowDispatch({
|
|
|
|
owner: context.repo.owner,
|
|
|
|
repo: context.repo.repo,
|
|
|
|
workflow_id: 'onPush.yml',
|
|
|
|
ref: 'master',
|
2023-08-01 15:08:12 +00:00
|
|
|
inputs: {
|
|
|
|
"beta": "true",
|
|
|
|
},
|
2023-07-09 12:16:02 +00:00
|
|
|
})
|