mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-10-02 17:42:03 +02:00
[CI-SKIP] Publish paperclip in github actions too!
This commit is contained in:
parent
0c85966882
commit
cc3f8a1d5e
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@ -46,6 +46,10 @@ jobs:
|
|||||||
git config --global user.name "Github CI"
|
git config --global user.name "Github CI"
|
||||||
git config --global gc.auto 0
|
git config --global gc.auto 0
|
||||||
|
|
||||||
|
- name: Get MC Version
|
||||||
|
run: echo "::set-output name=mcver::$(cat ".gradle/caches/paperweight/upstreams/paper/work/BuildData/info.json" | grep minecraftVersion | cut -d '"' -f 4)"
|
||||||
|
id: mcver
|
||||||
|
|
||||||
- name: Apply Patches
|
- name: Apply Patches
|
||||||
run: |
|
run: |
|
||||||
./gradlew applyPatches
|
./gradlew applyPatches
|
||||||
@ -59,11 +63,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Build Yatopia
|
- name: Build Yatopia
|
||||||
run: |
|
run: |
|
||||||
./gradlew generatePaperclipPatch
|
./gradlew build
|
||||||
|
|
||||||
|
- name: Rename Paperclip
|
||||||
|
run: cp -v "build/libs/Yatopia-${{ steps.mcver.outputs.mcver }}-R0.1-SNAPSHOT.jar" "yatopia-${{ steps.mcver.outputs.mcver }}-paperclip.jar"
|
||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: Yatopia-${{ matrix.java }}
|
name: Yatopia-${{ matrix.java }}
|
||||||
path: yatopia-1.17-paperclip.jar
|
path: yatopia-${{ steps.mcver.outputs.mcver }}-paperclip.jar
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user