mirror of
https://github.com/truewhile/MeBox.git
synced 2026-10-10 23:36:37 +08:00
Merge branch 'main' of https://github.com/truewhile/MMTL
This commit is contained in:
@@ -27,11 +27,6 @@ permissions:
|
|||||||
jobs:
|
jobs:
|
||||||
version-and-publish:
|
version-and-publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# 只在 CI 成功时执行
|
|
||||||
if: |
|
|
||||||
(github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') ||
|
|
||||||
(github.event_name == 'workflow_dispatch')
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@@ -153,15 +148,3 @@ jobs:
|
|||||||
VERSION=${{ steps.bump_version.outputs.new_version }}
|
VERSION=${{ steps.bump_version.outputs.new_version }}
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
|
|
||||||
# 10. 创建 GitHub Release(可选)
|
|
||||||
- name: Create Release
|
|
||||||
uses: softprops/action-gh-release@v1
|
|
||||||
with:
|
|
||||||
tag_name: ${{ steps.bump_version.outputs.tag }}
|
|
||||||
name: ${{ steps.bump_version.outputs.tag }}
|
|
||||||
draft: false
|
|
||||||
prerelease: false
|
|
||||||
generate_release_notes: true
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user