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:
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@@ -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
|
||||||
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@@ -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
|
||||||
Reference in New Issue
Block a user