Skip to content

Commit

Permalink
Update GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
TonimatasDEV committed Jun 15, 2024
1 parent 9870c76 commit 3c40b80
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,22 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Gradle Cache
id: cache-gradle
uses: actions/cache@v3
with:
path: .gradle
key: ${{ runner.os }}-gradle
- uses: actions/checkout@v4.1.6

- name: Set up JDK 8
uses: actions/setup-java@v3
uses: actions/setup-java@v4.2.1
with:
distribution: temurin
java-version: 8
cache: gradle

- name: Give permissions to Gradle
run: chmod +x ./gradlew

- name: Build with Gradle
run: ./gradlew build
run: ./gradlew jar

- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4.3.3
with:
name: PerWorldPlugins
path: build/libs/**.jar

0 comments on commit 3c40b80

Please sign in to comment.