Merge pull request #19 from Mooling0602/mdf #65
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: 自动打包插件 | |
on: | |
push: | |
branches: | |
- mdf | |
- dev # 触发打包的分支,可以根据需要修改 | |
jobs: | |
build: | |
runs-on: ubuntu-latest # 运行环境 | |
steps: | |
- name: Checkout 代码 | |
uses: actions/checkout@v3 | |
- name: 打包插件 | |
run: | | |
bash pack_plugin.sh | |
- name: 检查构建 | |
run: | | |
ls | |
- name: 上传插件 | |
uses: actions/upload-artifact@v3 | |
with: | |
name: plugin | |
path: | | |
MatrixSync-*.mcdr |