Skip to content

Commit

Permalink
[mod] 去除自动发布
Browse files Browse the repository at this point in the history
  • Loading branch information
Borber committed Nov 22, 2023
1 parent db9dc66 commit 1c040f4
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,23 +98,4 @@ jobs:
${{ needs.changelog.outputs.changes }}
files: release/*
draft: true
prerelease: false

publish:
needs: [changelog, build]
runs-on: ubuntu-latest
steps:
- name: publish release
id: publish-release
uses: actions/github-script@v6
env:
release_id: ${{ needs.build.outputs.release_id }}
with:
script: |
github.rest.repos.updateRelease({
owner: context.repo.owner,
repo: context.repo.repo,
release_id: process.env.release_id,
draft: false,
prerelease: false
})
prerelease: false

0 comments on commit 1c040f4

Please sign in to comment.