Skip to content

Commit

Permalink
chore: fix create release error (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
JashBook authored Sep 22, 2023
1 parent 6926266 commit db5a828
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release-create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

jobs:
publish:
name: create release
create-release:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
Expand All @@ -26,15 +25,15 @@ jobs:
with:
token: ${{ env.GITHUB_TOKEN }}
name: ${{ env.REPO_NAME }} v${{ env.REL_VERSION }}
generate_release_notes: true
tag_name: v${{ env.REL_VERSION }}
generate_release_notes: true
prerelease: true

send-message:
needs: [ get-version, release-version ]
needs: [ create-release ]
if: ${{ failure() || cancelled() }}
uses: ./.github/workflows/feishui-message.yml
with:
TYPE: "2"
CONTENT: "release ${{ needs.get-version.outputs.release-version }} create error"
CONTENT: "create release ${{ needs.get-version.outputs.release-version }} error"
secrets: inherit

0 comments on commit db5a828

Please sign in to comment.