Skip to content

Commit

Permalink
chore: fix release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
moshloop committed Oct 11, 2024
1 parent edd3f22 commit 05db97b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
semantic-release:
runs-on: ubuntu-latest
outputs:
release-version: ${{ inputs.version == "" && steps.semantic.outputs.new_release_version || inputs.version }}
release-version: ${{ inputs.version == '' && steps.semantic.outputs.new_release_version || inputs.version }}
new-release-published: ${{ steps.semantic.outputs.new-release-published }}
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
Expand All @@ -40,15 +40,15 @@ jobs:
fi
echo "BRANCHES=$BRANCHES" >> $GITHUB_ENV
- uses: cycjimmy/semantic-release-action@61680d0e9b02ff86f5648ade99e01be17f0260a4 # v4.0.0
if: ${{ inputs.version == "" }}
if: ${{ inputs.version == '' }}
id: semantic
with:
branches: ${{ env.BRANCHES }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create tag
if: ${{ inputs.version != "" }}
if: ${{ inputs.version != '' }}
uses: actions/github-script@v5
with:
script: |
Expand Down

0 comments on commit 05db97b

Please sign in to comment.