合并1.19 1.20以上为一个版本,同步最新模组汉化 #20
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: Packer | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'projects/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Create temporary directory | |
run: mkdir temp | |
- name: Copy 1.12.2 folder | |
run: cp -r projects/1.12.2 temp/1.12.2 | |
- name: Upload 1.12.2 artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: VM汉化组模组汉化包1.12.2 | |
path: temp/1.12.2 | |
- name: Copy 1.16 folder | |
run: cp -r projects/1.16 temp/1.16 | |
- name: Upload 1.16 artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: VM汉化组模组汉化包1.16 | |
path: temp/1.16 | |
- name: Copy 1.18 folder | |
run: cp -r projects/1.18 temp/1.18 | |
- name: Upload 1.18 artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: VM汉化组模组汉化包1.18 | |
path: temp/1.18 | |
- name: Copy 1.19+ folder | |
run: cp -r projects/1.19+ temp/1.19+ | |
- name: Upload 1.19+ artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: VM汉化组模组汉化包1.19及以上 | |
path: temp/1.19+ | |
- name: Clean up temporary directory | |
run: rm -rf temp |