9
0
mirror of https://github.com/WiIIiam278/HuskSync.git synced 2025-12-19 14:59:21 +00:00

ci: More adjustments to CI script

This commit is contained in:
William
2024-09-05 17:26:23 +01:00
parent 368c68f42b
commit 1a703102c3
2 changed files with 10 additions and 10 deletions

View File

@@ -60,7 +60,7 @@ jobs:
- name: 'Set Version Variable 📝' - name: 'Set Version Variable 📝'
run: | run: |
echo "version_name=${{steps.fetch-version.outputs.VERSION_NAME}}" >> $GITHUB_ENV echo "version_name=${{steps.fetch-version.outputs.VERSION_NAME}}" >> $GITHUB_ENV
cd .. cd ${{ github.workspace }}
- name: 'Publish to William278.net 🚀' - name: 'Publish to William278.net 🚀'
uses: WiIIiam278/bones-publish-action@v1 uses: WiIIiam278/bones-publish-action@v1
with: with:
@@ -85,7 +85,7 @@ jobs:
Paper 1.20.1 Paper 1.20.1
Fabric 1.20.1 Fabric 1.20.1
files: | files: |
${{ github.workspace }}/1.21.1/target/HuskSync-Paper-${{ env.version_name }}+mc.1.21.1.jar 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 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 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 1.20.1/target/HuskSync-Fabric-${{ env.version_name }}+mc.1.20.1.jar

View File

@@ -43,7 +43,7 @@ jobs:
run: | run: |
cd 1.20.1 cd 1.20.1
./gradlew clean build publish ./gradlew clean build publish
cd .. cd ${{ github.workspace }}
- name: 'Publish Test Report 📊' - name: 'Publish Test Report 📊'
uses: mikepenz/action-junit-report@v4 uses: mikepenz/action-junit-report@v4
if: success() || failure() # Continue on failure if: success() || failure() # Continue on failure
@@ -73,7 +73,7 @@ jobs:
Paper 1.20.1 Paper 1.20.1
Fabric 1.20.1 Fabric 1.20.1
files: | files: |
${{ github.workspace }}/1.21.1/target/HuskSync-Paper-${{ github.event.release.tag_name }}+mc.1.21.1.jar 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 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 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 1.20.1/target/HuskSync-Fabric-${{ github.event.release.tag_name }}+mc.1.20.1.jar