diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0e87a6fc..9f44d60f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,15 +39,16 @@ jobs: SNAPSHOTS_MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} - name: '[Current - 1.21.1] Build 🛎️' run: | + mkdir target cd 1_21_1 ./gradlew clean build publish - cp -R target ../target/ + cp -rf target/* ../target/ cd .. - name: '[LTS - 1.20.1] Build 🛎️' run: | cd 1_20_1 ./gradlew clean build publish - cp -R target ../target/ + cp -rf target/* ../target/ cd .. - name: 'Publish Test Report 📊' uses: mikepenz/action-junit-report@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5a4186eb..a5404690 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,15 +36,16 @@ jobs: RELEASES_MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} - name: '[Current - 1.21.1] Build 🛎️' run: | + mkdir target cd 1_21_1 ./gradlew clean build publish - cp -R target ../target/ + cp -rf target/* ../target/ cd .. - name: '[LTS - 1.20.1] Build 🛎️' run: | cd 1_20_1 ./gradlew clean build publish - cp -R target ../target/ + cp -rf target/* ../target/ cd .. - name: 'Publish Test Report 📊' uses: mikepenz/action-junit-report@v4