Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
gdavid04 committed Mar 7, 2024
1 parent c60d291 commit 1f9e77f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/check.yml → .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,25 @@
name: Check
name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: JDK 1.8
- name: JDK 17
uses: actions/setup-java@v2
with:
distribution: adopt
java-version: 8
java-version: 17
- name: Cache
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{runner.os}}-gradle-${{hashFiles('build.gradle')}}
- name: Gradle Build
run: ./gradlew build
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: Artifacts
path: build/libs/
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
uses: bruceadams/[email protected]
env:
GITHUB_TOKEN: ${{github.token}}
- name: JDK 1.8
- name: JDK 17
uses: actions/setup-java@v2
with:
distribution: adopt
java-version: 8
java-version: 17
- name: Cache
uses: actions/cache@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
org.gradle.jvmargs=-Xmx3G

# Use -Pversion=mc_version-mod_version on release
version=DEV
version=1.19-DEV
psi_version=1.19-101.528
patchouli_version=1.19.2-77

0 comments on commit 1f9e77f

Please sign in to comment.