Skip to content

Commit

Permalink
add gcc if not present
Browse files Browse the repository at this point in the history
  • Loading branch information
PrashantRaj18198 authored Jul 24, 2024
1 parent 9c6758f commit 3fec058
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,17 @@ jobs:
with:
go-version: '>=1.22.5'

- name: Ensure GCC is installed
run: |
if ! command -v gcc &> /dev/null
then
echo "GCC could not be found, installing..."
sudo apt-get update
sudo apt-get install -y gcc
else
echo "GCC is already installed"
fi
# This step usually is not needed because the /ui/dist is pregenerated locally
# but its here to ensure that each release embeds the latest admin ui artifacts.
# If the artificats differs, a "dirty error" is thrown - https://goreleaser.com/errors/dirty/
Expand Down

0 comments on commit 3fec058

Please sign in to comment.