钴构件纹理调整 #41
This file contains hidden or 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: Build | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@v4 # 升级到 v4 版本 | |
| - name: 安装 ZIP | |
| run: sudo apt-get install -y zip | |
| - name: 基本文件操作 | |
| run: | | |
| mkdir -p temp/overrides | |
| mv {config,fancymenu_data,kubejs,musics,resourcepacks,saves,scripts} temp/overrides/ | |
| mv modrinth.index.json temp/ | |
| - name: 压缩文件 | |
| run: | | |
| cd temp | |
| zip -r ../modpack.zip . | |
| - name: Upload file | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Artifacts | |
| path: ./modpack.zip |