Skip to content

Commit

Permalink
GA: fix artifact name
Browse files Browse the repository at this point in the history
  • Loading branch information
petrgazarov committed Oct 18, 2023
1 parent c1fcefe commit dc25ed7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/create_gh_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,13 @@ jobs:
- name: Download binary artifacts
uses: actions/download-artifact@v3
with:
name: salami-${{ steps.salami-version.outputs.version }}-linux-amd64
name: salami-${{ steps.salami-version.outputs.version }}-linux-x64

- name: Verify version
run: |
version_from_tag=${{ steps.salami-version.outputs.version }}
chmod +x ./salami-$version_from_tag-linux-amd64
version_from_binary=$(./salami-$version_from_tag-linux-amd64 version)
chmod +x ./salami-$version_from_tag-linux-x64
version_from_binary=$(./salami-$version_from_tag-linux-x64 version)
if [ "$version_from_binary" != "$version_from_tag" ]; then
echo "Version mismatch: $version_from_binary != $version_from_tag"
Expand Down

0 comments on commit dc25ed7

Please sign in to comment.