Version bump to 1.4.1 - hot fix build script #122
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: test-build | |
on: | |
push: | |
paths: | |
- 'src/**' | |
- 'build.gradle' | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Java 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Apply Cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: $${{ runner.os }}-gradle | |
- name: Get Short Identifier | |
uses: benjlevesque/[email protected] | |
id: short-sha | |
- name: Build | |
id: build | |
env: | |
VERSION_IDENTIFIER: SNAPSHOT+${{ steps.short-sha.outputs.sha }} | |
run: ./gradlew :build :githubActionOutput --stacktrace | |
- name: GitHub Action Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ steps.build.outputs.artifact_name }} | |
path: ${{ steps.build.outputs.artifact_path }} |