Skip to content

Commit

Permalink
support different arch by passing in env var (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
andsnw authored Oct 29, 2024
1 parent 22293dd commit e88ebe7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
pull_request:
env:
NULLIFY_VERSION: 0.0.0
NULLIFY_ARCH: linux_amd64 # New environment variable
jobs:
build:
name: Build, Test and Format
Expand All @@ -14,7 +15,8 @@ jobs:
uses: actions/checkout@v4
- name: Install Nullify CLI
run: |
wget -q https://github.com/Nullify-Platform/cli/releases/download/v${{ env.NULLIFY_VERSION }}/nullify_linux_amd64_${{ env.NULLIFY_VERSION }} -O nullify
download_url="https://github.com/Nullify-Platform/cli/releases/download/v${{ env.NULLIFY_VERSION }}/nullify_${{ env.NULLIFY_ARCH }}_${{ env.NULLIFY_VERSION }}"
wget -q $download_url -O nullify
chmod +x nullify
- name: Test Nullify CLI
run: |
Expand Down

0 comments on commit e88ebe7

Please sign in to comment.