Added support for moving to debris #16
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: Gradle Build Autogenerated Release | |
on: | |
release: | |
types: | |
- created | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master", "dev*"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
packages: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 19 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '19' | |
distribution: 'temurin' | |
check-latest: true | |
cache: 'gradle' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
#- name: Regenerate Gradle wrapper | |
# run: gradle wrapper | |
- name: Execute Gradle build | |
run: ./gradlew clean build | |
- name: Generate latest release | |
uses: marvinpinto/action-automatic-releases@latest | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
automatic_release_tag: latest | |
prerelease: true | |
title: "Latest autogenerated build" | |
files: | | |
**/build/**/*hict*.jar | |
**/build/**/scripts*/* |