Skip to content

Commit

Permalink
生成スクリプトを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
MORIMORI0317 committed Feb 18, 2024
1 parent dc7dc43 commit 0248794
Show file tree
Hide file tree
Showing 8 changed files with 991 additions and 3 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,21 @@ jobs:
sed -e "s/\${tag}/${{ github.ref_name }}/g" pack.mcmeta > pack.mcmeta_rep
mv pack.mcmeta_rep pack.mcmeta
- name: Run Generate Script # 生成スクリプトを実行
run: |
cd ./generate/scripts
chmod +x ./generator.main.kts
./generator.main.kts
- name: Generate ZIP
run: |
cd ./pack
cd ./out/TexturePack
zip TexturePack -r ./*
- name: mv ZIP
- name: mv Out Files
run: |
mkdir upload && mv pack/TexturePack.zip upload/
mv pack/pack_map.json upload/
- name: Upload Artifact #アーティファクトをアップロード
uses: actions/upload-artifact@v3
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
.idea/
.idea/
out/
tmp/
Binary file added generate/resources/items/test.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added generate/resources/items/test_1 - コピー.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added generate/resources/items/test_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 0248794

Please sign in to comment.