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"
|
echo "🔨 Building $BIN"
|
||||||
|
|
||||||
# Disable CGO for cross-compiled targets (everything except native linux/amd64)
|
# Set CGO only for native linux/amd64 build
|
||||||
if [ "$TARGET" = "linux/amd64" ]; then
|
if [ "$OS" = "linux" ] && [ "$ARCH" = "amd64" ]; then
|
||||||
export CGO_ENABLED=1
|
export CGO_ENABLED=1
|
||||||
else
|
else
|
||||||
export CGO_ENABLED=0
|
export CGO_ENABLED=0
|
||||||
|
@ -75,7 +75,6 @@ jobs:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "📦 Packaging $BIN with required files..."
|
echo "📦 Packaging $BIN with required files..."
|
||||||
|
|
||||||
PKG_DIR="bundle-$OUT"
|
PKG_DIR="bundle-$OUT"
|
||||||
mkdir "$PKG_DIR"
|
mkdir "$PKG_DIR"
|
||||||
cp "$BIN" "$PKG_DIR/"
|
cp "$BIN" "$PKG_DIR/"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue