Skip to content

Commit

Permalink
asd
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciechos committed Dec 10, 2024
1 parent 6348e10 commit 8f102e7
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,13 @@ jobs:
core/rust
starknet/compiler/rust
- name: Set version info
- name: Get latest tag
run: echo "TAG=$(git describe --tags)" >> $GITHUB_ENV

- name: Get artifact name
run: |
echo "TAG=$(git describe --tags)" >> $GITHUB_ENV
echo "ARTIFACT_NAME=juno-${{ env.TAG }}-${{ runner.os }}-${{ matrix.arch }}" >> $GITHUB_ENV
OS_NAME=$([ "${{ runner.os }}" == "macOS" ] && echo "darwin" || echo "linux")
echo "ARTIFACT_NAME=juno-${{ env.TAG }}-${OS_NAME}-${{ matrix.arch }}" >> $GITHUB_ENV
- name: Install dependencies (Linux)
if: runner.os == 'Linux'
Expand Down Expand Up @@ -81,10 +84,10 @@ jobs:
- name: Generate checksum
run: |
if [[ "${{ runner.os }}" == "macOS" ]]; then
shasum -a 256 ${{ env.ARTIFACT_NAME }}
shasum -a 256 ${{ env.ARTIFACT_NAME }} > ${{ env.ARTIFACT_NAME }}.sha256
else
sha256sum ${{ env.ARTIFACT_NAME }}
fi > ${{ env.ARTIFACT_NAME }}.sha256
sha256sum ${{ env.ARTIFACT_NAME }} > ${{ env.ARTIFACT_NAME }}.sha256
fi
- name: Upload artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 8f102e7

Please sign in to comment.