Update .forgejo/workflows/release.yaml
Some checks failed
Run Integration Tests / test (push) Has been cancelled
Some checks failed
Run Integration Tests / test (push) Has been cancelled
This commit is contained in:
parent
6e30691dad
commit
86a1cb019a
1 changed files with 2 additions and 3 deletions
|
@ -54,8 +54,8 @@ jobs:
|
|||
|
||||
echo "🔨 Building $BIN"
|
||||
|
||||
# Disable CGO for cross-compiled targets (everything except native linux/amd64)
|
||||
if [ "$TARGET" = "linux/amd64" ]; then
|
||||
# Set CGO only for native linux/amd64 build
|
||||
if [ "$OS" = "linux" ] && [ "$ARCH" = "amd64" ]; then
|
||||
export CGO_ENABLED=1
|
||||
else
|
||||
export CGO_ENABLED=0
|
||||
|
@ -75,7 +75,6 @@ jobs:
|
|||
fi
|
||||
|
||||
echo "📦 Packaging $BIN with required files..."
|
||||
|
||||
PKG_DIR="bundle-$OUT"
|
||||
mkdir "$PKG_DIR"
|
||||
cp "$BIN" "$PKG_DIR/"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue