Skip to content

daily-release

daily-release #123

name: Update Daily Release
on:
repository_dispatch:
types: 'daily-release'
jobs:
daily-release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false
- name: Setup Java
uses: actions/setup-java@v3
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 }}