Skip to content
This repository was archived by the owner on Mar 8, 2025. It is now read-only.

Commit

Permalink
工作流自动发布插件
Browse files Browse the repository at this point in the history
  • Loading branch information
ACaiCat authored Oct 3, 2024
1 parent b096c39 commit 286d022
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,26 @@ jobs:
name: CaiBotMod
path: |
./artifacts/Mods/CaiBotMod.tmod
- name: Update Tag
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
run: |
git tag -f $(date +'%Y.%m.%d')
git push -f origin $(date +'%Y.%m.%d')
- name: Release Mod
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
uses: ncipollo/release-action@v1
with:
tag: $(date +'%Y.%m.%d')
name: CaiBotMod v$(date +'%Y.%m.%d')
body: |
# CaiBotMod
### 📅 只推荐使用最新版CaiBot扩展
### 📖 MOD版本的CaiBot扩展功能有所缩减
### 📦 Auto Build By Github Action
artifacts: |
./artifacts/Mods/CaiBotMod.tmod
allowUpdates: true
removeArtifacts: true

0 comments on commit 286d022

Please sign in to comment.