Skip to content

Commit

Permalink
fix: Pack working dir
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonjgardner authored Feb 13, 2024
1 parent 75a91f8 commit 1d63e09
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,20 @@ jobs:
mkdir dist
- name: Copy main pack
run: |
cp -r bedrock/pack/ dist
cd dist/pack
zip -0 -r dist/JG-RTX.mcpack .
cp -r bedrock/pack/RP dist
(cd dist/pack/RP; zip -0 -r ../../JG-RTX.mcpack .)
- name: Copy addon pack
run: |
cp -r bedrock/addon/ dist
zip -0 -r dist/JG-RTX.mcaddon dist/addon
(cd dist/addon; zip -0 -r ../JG-RTX.mcaddon .)
- name: Copy variety packs
run: |
cp -r bedrock/variety/glass/ dist/glass_variety
zip -0 -r dist/JG-RTX_glass.mcpack dist/glass_variety
(cd dist/glass_variety; zip -0 -r ../JG-RTX_glass.mcpack .)
cp -r bedrock/variety/modern/ dist/modern_variety
zip -0 -r dist/JG-RTX_modern.mcpack dist/modern_variety
(cd dist/modern_variety; zip -0 -r ../JG-RTX_modern.mcpack .)
cp -r bedrock/variety/vanilla/ dist/vanilla_variety
zip -0 -r dist/JG-RTX_vanilla.mcpack dist/vanilla_variety
(cd dist/vanilla_variety; zip -0 -r ../JG-RTX_vanilla.mcpack .)
- name: Upload Bedrock packs
uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit 1d63e09

Please sign in to comment.