mirror of
https://github.com/GeyserMC/GeyserOptionalPack.git
synced 2025-12-21 07:49:27 +00:00
Update build.yml
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -20,8 +20,14 @@ jobs:
|
|||||||
run: bash prepare_pack.sh
|
run: bash prepare_pack.sh
|
||||||
|
|
||||||
- name: Zip pack
|
- name: Zip pack
|
||||||
run: zip GeyserOptionalPack.mcpack -r . -x ".*" Jenkinsfile required_files.txt prepare_pack.sh
|
run: zip GeyserOptionalPack.mcpack -r . -x ".*" required_files.txt prepare_pack.sh
|
||||||
|
|
||||||
|
- name: Archive artifacts
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
if: success()
|
||||||
|
with:
|
||||||
|
name: GeyserOptionalPack
|
||||||
|
path: GeyserOptionalPack.mcpack
|
||||||
|
|
||||||
- name: Publish to Downloads API
|
- name: Publish to Downloads API
|
||||||
if: ${{ success() && github.repository == 'GeyserMC/GeyserOptionalPack' && github.ref_name == 'master' }}
|
if: ${{ success() && github.repository == 'GeyserMC/GeyserOptionalPack' && github.ref_name == 'master' }}
|
||||||
|
|||||||
Reference in New Issue
Block a user