Update dependency org.jetbrains.kotlin:kotlin-test-junit5 to v2 - autoclosed #45
Workflow file for this run
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: Java CI with Gradle | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
- name: Build with Gradle | |
run: ./gradlew shadowJar | |
- name: Get Commit Count | |
if: ${{ github.event_name == 'push' }} | |
id: commit_count | |
run: echo "count=$(git rev-list --count HEAD)" >> $GITHUB_OUTPUT | |
- name: Upload Release | |
uses: softprops/action-gh-release@v2 | |
if: ${{ github.event_name == 'push' }} | |
with: | |
tag_name: ${{ steps.commit_count.outputs.count }} | |
files: build/*.jar |