From b347a8d060711686e952037554c578ff4f402c10 Mon Sep 17 00:00:00 2001 From: William Date: Fri, 1 Nov 2024 22:32:03 +0000 Subject: [PATCH] fix: API not publishing, close #399 --- .github/workflows/ci_1.20.1.yml | 6 +++--- .github/workflows/ci_1.21.1.yml | 6 +++--- .github/workflows/ci_master.yml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci_1.20.1.yml b/.github/workflows/ci_1.20.1.yml index 92a65d91..39b41999 100644 --- a/.github/workflows/ci_1.20.1.yml +++ b/.github/workflows/ci_1.20.1.yml @@ -30,12 +30,12 @@ jobs: uses: actions/checkout@v4 with: ref: 'minecraft/1.20.1' - env: - SNAPSHOTS_MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} - SNAPSHOTS_MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} - name: '[Current - 1.20.1] Build 🛎️' run: | ./gradlew clean build publish + env: + SNAPSHOTS_MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} + SNAPSHOTS_MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} - name: 'Publish Test Report 📊' uses: mikepenz/action-junit-report@v4 if: success() || failure() # Continue on failure diff --git a/.github/workflows/ci_1.21.1.yml b/.github/workflows/ci_1.21.1.yml index 84b9863e..fc84da6b 100644 --- a/.github/workflows/ci_1.21.1.yml +++ b/.github/workflows/ci_1.21.1.yml @@ -30,12 +30,12 @@ jobs: uses: actions/checkout@v4 with: ref: 'minecraft/1.21.1' - env: - SNAPSHOTS_MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} - SNAPSHOTS_MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} - name: '[Current - 1.21.1] Build 🛎️' run: | ./gradlew clean build publish + env: + SNAPSHOTS_MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} + SNAPSHOTS_MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} - name: 'Publish Test Report 📊' uses: mikepenz/action-junit-report@v4 if: success() || failure() # Continue on failure diff --git a/.github/workflows/ci_master.yml b/.github/workflows/ci_master.yml index c8e513bc..5a6e20e1 100644 --- a/.github/workflows/ci_master.yml +++ b/.github/workflows/ci_master.yml @@ -28,12 +28,12 @@ jobs: gradle-version: '8.8' - name: 'Checkout for CI 🛎️' uses: actions/checkout@v4 - env: - SNAPSHOTS_MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} - SNAPSHOTS_MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} - name: '[Current - 1.21.3] Build 🛎️' run: | ./gradlew clean build publish + env: + SNAPSHOTS_MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} + SNAPSHOTS_MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} - name: 'Publish Test Report 📊' uses: mikepenz/action-junit-report@v4 if: success() || failure() # Continue on failure