home-assistant-android/.github/workflows/weekly.yaml
dependabot[bot] e44cbf0113
Bump actions/github-script from 6 to 7 (#4016)
Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-22 12:57:56 -05:00

40 lines
947 B
YAML

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/setup-java@v3.13.0
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: 'onPush.yml',
ref: 'master',
inputs: {
"beta": "true",
},
})