From fc62717329a0958fa65e8f1c7f2aa8cc93a91bc1 Mon Sep 17 00:00:00 2001 From: rlnt Date: Mon, 21 Oct 2024 17:17:36 +0200 Subject: [PATCH] update workflows --- .github/workflows/build.yml | 9 ++++++--- .github/workflows/release.yml | 6 ++++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0022012..87844da 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,7 @@ on: workflow_dispatch: push: branches: - - "1.20.1" + - "1.21.1" tags-ignore: - "**" paths: @@ -15,7 +15,7 @@ on: - "**/build.yml" pull_request: branches: - - "1.20.1" + - "1.21.1" paths: - "gradle/**" - "**.java" @@ -29,4 +29,7 @@ concurrency: jobs: redirect: - uses: AlmostReliable/.github/.github/workflows/build-java17.yml@main + uses: AlmostReliable/.github/.github/workflows/build.yml@main + with: + java-distribution: "microsoft" + java-version: "21" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 38b053b..743aa45 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,9 +34,11 @@ on: jobs: redirect: - uses: AlmostReliable/.github/.github/workflows/release-java17-ff.yml@main + uses: AlmostReliable/.github/.github/workflows/release-nf.yml@main secrets: inherit with: + java-distribution: "microsoft" + java-version: "21" mod_name: "KubeJS-EnderIO" curseforge_id: "910379" modrinth_id: "BotkzaBk" @@ -47,5 +49,5 @@ jobs: target_version: ${{ github.event.inputs.target_version }} update_type: ${{ github.event.inputs.update_type }} release_type: ${{ github.event.inputs.release_type }} - loaders: "forge" + loaders: "neoforge" debug: ${{ github.event.inputs.debug }}