Include friendly names for all jobs in CI, Update wrapper JAR. (#138)

* Include friendly names for all jobs in CI.

* Ensure wrapper jar is synced to 8.1.1.
This commit is contained in:
Kichura 2023-06-18 14:39:26 +02:00 committed by GitHub
parent a3f2beacfc
commit 3004a56a9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 13 deletions

View File

@ -1,22 +1,21 @@
# Automatically build the project and run any configured tests for every push name: ViaFabricPlus CI
# and submitted pull request. This can help catch issues that only occur on
# certain platforms or Java versions, and provides a first line of defence
# against bad commits.
name: ViaFabricPlus build
on: [pull_request, push, workflow_dispatch] on: [pull_request, push, workflow_dispatch]
jobs: jobs:
build: build:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v3 - name: Checkout Repository
- uses: gradle/wrapper-validation-action@v1 uses: actions/checkout@v3
- uses: actions/setup-java@v3 - name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Set up JDK 17
uses: actions/setup-java@v3
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: 17 java-version: 17
- uses: actions/cache@v3 - name: Cache Dependencies
uses: actions/cache@v3
with: with:
path: | path: |
~/.gradle/caches ~/.gradle/caches
@ -24,9 +23,10 @@ jobs:
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: | restore-keys: |
${{ runner.os }}-gradle- ${{ runner.os }}-gradle-
- name: build - name: Build with Gradle
run: ./gradlew build run: ./gradlew build
- uses: actions/upload-artifact@v3 - name: Upload Artifacts
uses: actions/upload-artifact@v3
with: with:
name: Artifacts name: Artifacts
path: build/libs/ path: build/libs/

Binary file not shown.