Skip to content

Commit

Permalink
fix scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
yshavit committed Jul 11, 2024
1 parent fbce8e9 commit 180ddfe
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,17 @@ jobs:
build_file_name=mdq
fi
echo "BUILD_FILE_NAME=${build_file_name}" >> "$GITHUB_ENV"
env:
MATRIX_OS: ${{ matrix.os }}
- uses: actions/checkout@v4
- name: build
run: cargo build --release
- name: print hash
run: printf '::notice title=sha256sum %s::%s\n' "$BUILD_FILE_NAME" "$(sha256sum "target/release/${BUILD_FILE_NAME}" | cut -f1 -d' ')"
- name: sha256sum
shell: bash
run: printf '::notice title=sha256sum %s (%s)::%s\n' "$BUILD_FILE_NAME" "$MATRIX_OS" "$(sha256sum "target/release/${BUILD_FILE_NAME}" | cut -f1 -d' ')"
- name: upload
uses: actions/upload-artifact@v4
with:
if-no-files-found: error
name: mdq-${{ matrix.os }}
path: target/release/${{ env.BUILD_FILE_NAME }}

0 comments on commit 180ddfe

Please sign in to comment.