Skip to content

Commit

Permalink
fix: missing var calling build.sh build-and-release (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
filfreire authored Jan 23, 2025
1 parent ee978f1 commit e764eb5
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,11 @@ jobs:
- name: 'Publish Binary'
run: |
pip install packaging
GIT_COMMIT=${{ github.sha }} GIT_TAG=$GIT_TAG RUNNER_OS=${{ matrix.os }} ./scripts/ci/build.sh
GIT_COMMIT=${{ github.sha }} \
GIT_TAG=$GIT_TAG \
RUNNER_OS=${{ matrix.os }} \
TARGET_ARCH=${{ matrix.os=='ubuntu-22.04-arm' && 'arm64' || 'x64' }} \
./scripts/ci/build.sh
- name: Upload artifacts
if: always()
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -161,8 +165,10 @@ jobs:
- name: 'Publish Binary'
run: |
pip install packaging
GIT_COMMIT=${{ github.sha }} GIT_TAG=$GIT_TAG ./scripts/ci/build.sh
# Perform SCA analysis for the code repository
GIT_COMMIT=${{ github.sha }} \
GIT_TAG=$GIT_TAG \
TARGET_ARCH=${{ matrix.os=='ubuntu-22.04-arm' && 'arm64' || 'x64' }} \
./scripts/ci/build.sh
- name: Upload artifacts
if: always()
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit e764eb5

Please sign in to comment.