Skip to content

Commit

Permalink
Updated GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphiMC committed Sep 13, 2024
1 parent 4dc7d40 commit 85049c3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
uses: gradle/actions/wrapper-validation@v4
- name: Set up JDK 21
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
check-latest: true
- name: Build with Gradle
run: ./gradlew build
- name: Upload Artifacts to GitHub
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Artifacts
path: build/libs/
15 changes: 10 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,23 @@ repositories {
name = "Sonatype Snapshots"
url = "https://oss.sonatype.org/content/repositories/snapshots"
}
maven {
name = "Jitpack"
url = "https://jitpack.io"
}
maven {
name = "ViaVersion"
url "https://repo.viaversion.com"
url = "https://repo.viaversion.com"
}
maven {
name = "lucko"
url = "https://repo.lucko.me"
}
maven {
name = "Jitpack"
url = "https://jitpack.io"

content {
includeGroup "com.github.AlexProgrammerDE.spark"
includeGroup "com.github.jvm-profiling-tools"
}
}
}

dependencies {
Expand Down

0 comments on commit 85049c3

Please sign in to comment.