Delete projects/1.18/assets/minecraft directory #12
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 code | |
uses: actions/checkout@v2 | |
- 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@v2 | |
with: | |
name: VM汉化组模组汉化包1.12.2.zip | |
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@v2 | |
with: | |
name: VM汉化组模组汉化包1.16.zip | |
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@v2 | |
with: | |
name: VM汉化组模组汉化包1.18.zip | |
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@v2 | |
with: | |
name: VM汉化组模组汉化包1.19.zip | |
path: temp/1.19 | |
- name: Copy 1.20 folder | |
run: cp -r projects/1.20 temp/1.20 | |
- name: Upload 1.20 artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: VM汉化组模组汉化包1.20.zip | |
path: temp/1.20 | |
- name: Clean up temporary directory | |
run: rm -rf temp |