Skip to content

Commit

Permalink
update actions workflow version so it stops nagging me
Browse files Browse the repository at this point in the history
  • Loading branch information
DeathGOD7 committed Feb 27, 2024
1 parent 399746b commit 1783a83
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,27 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# makes gradlew executable/runnable (to prevent cannot execute problem)
- name: Make gradlew executable
run: chmod +x gradlew

# setup JDK 8 for building (for MC 1.8.8)
- name: Set up JDK 8
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'temurin'

# to fix the said vulnerability of older version than 2.4.2
- name: Build with Gradle
uses: gradle/gradle-build-action@v2.4.2
uses: gradle/gradle-build-action@v3
with:
arguments: build --scan -xtest

- name: Upload a Build Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: SE7ENLib-SNAPSHOT
name: SE7ENLib-SNAPSHOT-${{ github.run_number }}
path: ${{ github.workspace }}/build/libs/*.jar

0 comments on commit 1783a83

Please sign in to comment.