From 0608b086f76ef097f269397bf2f4fdd9ba7c9f2c Mon Sep 17 00:00:00 2001 From: CaelTheColher <16297430+CaelTheColher@users.noreply.github.com> Date: Fri, 26 Apr 2024 09:16:00 -0300 Subject: [PATCH] oopsie --- .../{release.yml => releaseFabric.yml} | 19 +--------------- .github/workflows/releaseForge.yml | 22 +++++++++++++++++++ 2 files changed, 23 insertions(+), 18 deletions(-) rename .github/workflows/{release.yml => releaseFabric.yml} (51%) create mode 100644 .github/workflows/releaseForge.yml diff --git a/.github/workflows/release.yml b/.github/workflows/releaseFabric.yml similarity index 51% rename from .github/workflows/release.yml rename to .github/workflows/releaseFabric.yml index b00471c..c9ac8e7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/releaseFabric.yml @@ -1,4 +1,4 @@ -name: Release +name: Release Fabric on: [workflow_dispatch] @@ -20,20 +20,3 @@ jobs: CURSEFORGE_API_KEY: ${{ secrets.CURSEFORGE_API_KEY }} GITHUB_TOKEN: ${{ secrets.GH_API_KEY }} MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }} - releaseForge: - - runs-on: ubuntu-latest - - container: - image: openjdk:21-jdk - options: --user root - - steps: - - uses: actions/checkout@v2.2.0 - - run: | - chmod +x ./gradlew - ./gradlew build forgePublish --stacktrace - env: - CURSEFORGE_API_KEY: ${{ secrets.CURSEFORGE_API_KEY }} - GITHUB_TOKEN: ${{ secrets.GH_API_KEY }} - MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }} diff --git a/.github/workflows/releaseForge.yml b/.github/workflows/releaseForge.yml new file mode 100644 index 0000000..750d8c0 --- /dev/null +++ b/.github/workflows/releaseForge.yml @@ -0,0 +1,22 @@ +name: Release Forge + +on: [workflow_dispatch] + +jobs: + releaseForge: + + runs-on: ubuntu-latest + + container: + image: openjdk:21-jdk + options: --user root + + steps: + - uses: actions/checkout@v2.2.0 + - run: | + chmod +x ./gradlew + ./gradlew build forgePublish --stacktrace + env: + CURSEFORGE_API_KEY: ${{ secrets.CURSEFORGE_API_KEY }} + GITHUB_TOKEN: ${{ secrets.GH_API_KEY }} + MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}