Skip to content

Commit

Permalink
Update GitHub workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
LambdAurora committed Dec 3, 2021
1 parent 6e8a62c commit 192aab8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 16
uses: actions/setup-java@v1
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: 16
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
java-version: 17
distribution: 'temurin'

- name: Build with Gradle
run: ./gradlew build
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/modrinth_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 16
uses: actions/setup-java@v1
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: 16
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
java-version: 17
distribution: 'temurin'

- name: Publish to Modrinth
env:
Expand Down

0 comments on commit 192aab8

Please sign in to comment.