From c380f1d283a8f5cc9b4090b2786461d4c23ddaf5 Mon Sep 17 00:00:00 2001 From: Uraneptus Date: Mon, 30 Dec 2024 05:47:52 +0100 Subject: [PATCH] Update gradle.yml --- .github/workflows/gradle.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index cf7993b..6004c26 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -13,7 +13,7 @@ jobs: distribution: 'temurin' java-version: '21' - name: Validate gradlew integrity - uses: gradle/wrapper-validation-action@v3 + uses: gradle/actions/wrapper-validation@v3 - name: Cache uses: actions/cache@v4 with: @@ -35,7 +35,7 @@ jobs: run: | VERSION=$(awk -F '=' '/^version/ { print $2; }' build.properties) BUILD=$(awk -F '=' '/build_number/ { print $2; }' build.properties) - echo "forge=build/libs/AkashicTome-${VERSION}-${BUILD}.jar" >> "$GITHUB_OUTPUT" + echo "neoforge=build/libs/AkashicTome-${VERSION}-${BUILD}.jar" >> "$GITHUB_OUTPUT" - name: Sign jars env: SIGNING_KEY: ${{ secrets.VIOLET_MOON_SIGNING_KEY }} @@ -43,20 +43,20 @@ jobs: run: | echo "${SIGNING_KEY}" | gpg --import - gpg --local-user "Violet Moon Signing Key" --armor \ - --detach-sign ${{ steps.calculate_artifact_names.outputs.forge }} + --detach-sign ${{ steps.calculate_artifact_names.outputs.neoforge }} - name: Archive NeoForge Artifacts uses: actions/upload-artifact@v4 with: - name: Forge + name: NeoForge path: | - ${{ steps.calculate_artifact_names.outputs.forge }} - ${{ steps.calculate_artifact_names.outputs.forge }}.asc + ${{ steps.calculate_artifact_names.outputs.neoforge }} + ${{ steps.calculate_artifact_names.outputs.neoforge }}.asc - name: Upload Releases if: startsWith(github.ref, 'refs/tags/release-') env: GH_TOKEN: ${{ github.token }} GIT_REF: ${{ github.ref }} - FORGE_JAR: ${{ steps.calculate_artifact_names.outputs.forge }} + NEOFORGE_JAR: ${{ steps.calculate_artifact_names.outputs.neoforge }} CURSEFORGE_TOKEN: ${{ secrets.VAZKII_CURSEFORGE_TOKEN }} MODRINTH_TOKEN: ${{ secrets.VAZKII_MODRINTH_TOKEN }} run: |