diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb439de4..ef1e49a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,7 +60,7 @@ jobs: - name: 'Set Version Variable 📝' run: | echo "version_name=${{steps.fetch-version.outputs.VERSION_NAME}}" >> $GITHUB_ENV - cd .. + cd ${{ github.workspace }} - name: 'Publish to William278.net 🚀' uses: WiIIiam278/bones-publish-action@v1 with: @@ -85,7 +85,7 @@ jobs: Paper 1.20.1 Fabric 1.20.1 files: | - ${{ github.workspace }}/1.21.1/target/HuskSync-Paper-${{ env.version_name }}+mc.1.21.1.jar - ${{ github.workspace }}/1.21.1/target/HuskSync-Fabric-${{ env.version_name }}+mc.1.21.1.jar - ${{ github.workspace }}/1.20.1/target/HuskSync-Paper-${{ env.version_name }}+mc.1.20.1.jar - ${{ github.workspace }}/1.20.1/target/HuskSync-Fabric-${{ env.version_name }}+mc.1.20.1.jar \ No newline at end of file + 1.21.1/target/HuskSync-Paper-${{ env.version_name }}+mc.1.21.1.jar + 1.21.1/target/HuskSync-Fabric-${{ env.version_name }}+mc.1.21.1.jar + 1.20.1/target/HuskSync-Paper-${{ env.version_name }}+mc.1.20.1.jar + 1.20.1/target/HuskSync-Fabric-${{ env.version_name }}+mc.1.20.1.jar \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d15450c4..c75b4626 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,7 +43,7 @@ jobs: run: | cd 1.20.1 ./gradlew clean build publish - cd .. + cd ${{ github.workspace }} - name: 'Publish Test Report 📊' uses: mikepenz/action-junit-report@v4 if: success() || failure() # Continue on failure @@ -73,7 +73,7 @@ jobs: Paper 1.20.1 Fabric 1.20.1 files: | - ${{ github.workspace }}/1.21.1/target/HuskSync-Paper-${{ github.event.release.tag_name }}+mc.1.21.1.jar - ${{ github.workspace }}/1.21.1/target/HuskSync-Fabric-${{ github.event.release.tag_name }}+mc.1.21.1.jar - ${{ github.workspace }}/1.20.1/target/HuskSync-Paper-${{ github.event.release.tag_name }}+mc.1.20.1.jar - ${{ github.workspace }}/1.20.1/target/HuskSync-Fabric-${{ github.event.release.tag_name }}+mc.1.20.1.jar \ No newline at end of file + 1.21.1/target/HuskSync-Paper-${{ github.event.release.tag_name }}+mc.1.21.1.jar + 1.21.1/target/HuskSync-Fabric-${{ github.event.release.tag_name }}+mc.1.21.1.jar + 1.20.1/target/HuskSync-Paper-${{ github.event.release.tag_name }}+mc.1.20.1.jar + 1.20.1/target/HuskSync-Fabric-${{ github.event.release.tag_name }}+mc.1.20.1.jar \ No newline at end of file