Skip to content

Updated naming of dependencies #56

Updated naming of dependencies

Updated naming of dependencies #56

name: Gradle Build Autogenerated Release
on:
release:
types:
- created
push:
branches: [ "master", "dev*" ]
pull_request:
branches: [ "master", "dev*" ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch
- uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: '18.x'
- 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-${{ steps.extract_branch.outputs.branch }}
prerelease: true
title: "Latest autogenerated build (branch ${{ steps.extract_branch.outputs.branch }})"
files: |
**/build/**/*hict*.jar