Skip to content

Commit

Permalink
fix syntax error - workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MHSanaei committed Jan 15, 2024
1 parent 679dc69 commit fc56a1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update
if [ "${{ matrix.platform }}" == "amd64" ]; then
# Add any amd64 specific dependencies here
elif [ "${{ matrix.platform }}" == "arm64" ]; then
if [ "${{ matrix.platform }}" == "arm64" ]; then
sudo apt install gcc-aarch64-linux-gnu
elif [ "${{ matrix.platform }}" == "armv7" ] || [ "${{ matrix.platform }}" == "armv6" ]; then
sudo apt install gcc-arm-linux-gnueabihf
Expand All @@ -42,8 +40,10 @@ jobs:
export GOOS=linux
export GOARCH=${{ matrix.platform }}
if [ "${{ matrix.platform }}" == "arm64" ]; then
export GOARCH=arm64
export CC=aarch64-linux-gnu-gcc
elif [ "${{ matrix.platform }}" == "armv7" ] || [ "${{ matrix.platform }}" == "armv6" ]; then
export GOARCH=arm
export GOARM=7
export CC=arm-linux-gnueabihf-gcc
fi
Expand Down

0 comments on commit fc56a1a

Please sign in to comment.