Skip to content

Commit

Permalink
fix(ci): fix github release
Browse files Browse the repository at this point in the history
  • Loading branch information
kalekseev committed Jul 10, 2024
1 parent 41ccf60 commit 6f333a8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ jobs:
environment: release
permissions:
id-token: write
contents: write
steps:
- uses: actions/checkout@v4
- name: Set release env
Expand Down Expand Up @@ -118,12 +119,10 @@ jobs:
uses: pypa/gh-action-pypi-publish@release/v1
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ steps.release_output.outputs.VERSION }}
name: Release ${{ steps.release_output.outputs.VERSION }}
body: ${{ steps.release_output.outputs.BODY }}
draft: false
prerelease: ${{ contains(steps.release_output.outputs.VERSION, 'rc') || contains(steps.release_output.outputs.VERSION, 'b') || contains(steps.release_output.outputs.VERSION, 'a') }}

0 comments on commit 6f333a8

Please sign in to comment.