This repository has been archived by the owner on Aug 16, 2024. It is now read-only.
Update gradle/actions action to v4 #80
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
# Builds the project with Gradle and uploads to GitHub artifacts. | |
name: Java CI with Gradle | |
on: | |
push: | |
permissions: | |
contents: read | |
checks: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.commits[0].message, '[ci-skip]')" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: gradle | |
- name: Make Gradlew executable | |
run: chmod +x ./gradlew | |
- name: Build with Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
with: | |
arguments: build | |
- name: Upload RealWorldSync | |
uses: actions/[email protected] | |
with: | |
name: RealWorldSync Dev Artifacts | |
path: "build/libs/RealWorldSync-*.jar" |