upd: Bigger jungle leaves #92
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Preview Release | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- 'bedrock/**' | |
- 'java/**' | |
jobs: | |
assemble: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Zip directories | |
run: | | |
mkdir dist | |
cp -r java dist | |
cp -r bedrock/pack dist | |
cp -r bedrock/addon dist | |
cp -r bedrock/variety dist | |
cd dist/java | |
zip -0 -r ../PBR-JG.zip . | |
cd ../pack | |
zip -0 -r ../JG-RTX.mcpack . | |
cd ../addon | |
zip -0 -r ../JG-RTX.mcaddon . | |
cd ../variety | |
zip -0 -r ../JG-RTX_GlassVariety.mcpack ./glass | |
- name: Upload Bedrock packs | |
uses: actions/upload-artifact@v2 | |
with: | |
name: JG-RTX | |
path: dist/*.mc* | |
- name: Upload Java pack | |
uses: actions/upload-artifact@v2 | |
with: | |
name: PBR-JG | |
path: dist/*.zip |