daily-release #178
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: Update Daily Release | |
on: | |
repository_dispatch: | |
types: 'daily-release' | |
jobs: | |
daily-release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: 11 | |
- name: Update Daily Release | |
run: ./gradlew updateDailyRelease --url="${{ github.event.client_payload.url }}" --checksum="${{ github.event.client_payload.checksum }}" | |
- name: Create Pull Request | |
run: ./gradlew createPullRequestDailyRelease | |
env: | |
ZAPBOT_TOKEN: ${{ secrets.ZAPBOT_TOKEN }} |