Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update bulid*.yml #2238

Open
wants to merge 4 commits into
base: 1.18.2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Cache Brachyura directory
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
.brachyura
Expand All @@ -29,7 +29,7 @@ jobs:
run: java -Diris.release=true -jar brachyura-bootstrap-0.jar build

- name: Upload artifacts to Modrinth, Curseforge and GitHub
uses: Kir-Antipov/mc-publish@v3.2
uses: Kir-Antipov/mc-publish@v3.3
with:
modrinth-id: YL57xq9U
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17

- name: Cache Brachyura directory
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
.brachyura
Expand All @@ -30,7 +31,7 @@ jobs:
run: java -jar brachyura-bootstrap-0.jar build

- name: Upload built JAR
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: iris-artifacts
path: build/libs