Skip to content

Commit

Permalink
ci: re-fix version detection
Browse files Browse the repository at this point in the history
  • Loading branch information
shakefu committed Nov 17, 2023
1 parent 221bdf9 commit 49b370f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ jobs:
with:
github-token: ${{ secrets.GHA_TOKEN }}
dry-run: true
- name:
- name: Set release version
id: set-release-version
run: |
version="${{ steps.semantic-release.outputs.new-release-version }}"
if [[ -n "$version" ]]; then
echo "New version: $version"
echo "release-version=$version" >> $GITHUB_OUTPUTS
echo "release-version=$version" >> "$GITHUB_OUTPUT"
else
echo "No new version"
echo "release-version=latest" >> $GITHUB_OUTPUTS
echo "release-version=latest" >> "$GITHUB_OUTPUT"
fi
- uses: docker/build-push-action@v5
with:
Expand Down

0 comments on commit 49b370f

Please sign in to comment.