wanquanw 正在发布新版本🚀 #2
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: 发布包 | |
run-name: ${{ github.actor }} 正在发布新版本🚀 | |
on: | |
push: | |
branches: | |
- release-* | |
jobs: | |
Release: | |
runs-on: ubuntu-latest | |
name: 发布🚀 | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: List files in the repository | |
run: | | |
ls ${{ github.workspace }} | |
- name: 安装 Packwiz | |
run: | | |
go install github.com/packwiz/packwiz@latest | |
- name: 检测并生成mods meta信息 | |
run: | | |
./packwiz curseforge detect | |
- name: 更新index | |
run: | | |
./packwiz refresh | |
- name: 生成curseforge包 | |
run: | | |
./packwiz curseforge export | |
- name: 上传包 | |
uses: actions/upload-artifact@v3 | |
with: | |
path: ./*.zip | |
- run: echo "🍏 This job's status is ${{ job.status }}." |