mirror of
https://github.com/WiIIiam278/HuskSync.git
synced 2025-12-19 14:59:21 +00:00
ci: force copy files, make dir first
This commit is contained in:
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user