Update .forgejo/workflows/release.yaml
Some checks failed
Run Integration Tests / test (push) Failing after 37s
Some checks failed
Run Integration Tests / test (push) Failing after 37s
This commit is contained in:
parent
73de8a4fa9
commit
c586af359e
1 changed files with 3 additions and 3 deletions
|
@ -28,7 +28,7 @@ jobs:
|
||||||
echo "$VERSION" > version.txt
|
echo "$VERSION" > version.txt
|
||||||
echo "✅ Detected version: $VERSION"
|
echo "✅ Detected version: $VERSION"
|
||||||
|
|
||||||
- name: Build all targets
|
- name: Build all targets
|
||||||
run: |
|
run: |
|
||||||
PLATFORMS=(
|
PLATFORMS=(
|
||||||
"linux/amd64"
|
"linux/amd64"
|
||||||
|
@ -55,7 +55,7 @@ jobs:
|
||||||
case "$VARIANT" in
|
case "$VARIANT" in
|
||||||
v7) GOARM=7 ;;
|
v7) GOARM=7 ;;
|
||||||
v6) GOARM=6 ;;
|
v6) GOARM=6 ;;
|
||||||
*) GOARM=7 ;; # default fallback
|
*) GOARM=7 ;;
|
||||||
esac
|
esac
|
||||||
GOOS=$OS GOARCH=arm GOARM=$GOARM \
|
GOOS=$OS GOARCH=arm GOARM=$GOARM \
|
||||||
go build -ldflags="-s -w" -o "$OUT" ./.
|
go build -ldflags="-s -w" -o "$OUT" ./.
|
||||||
|
@ -65,7 +65,7 @@ jobs:
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
- name: Create Forgejo release
|
- name: Create Forgejo release
|
||||||
run: |
|
run: |
|
||||||
TAG_NAME=$(cat version.txt)
|
TAG_NAME=$(cat version.txt)
|
||||||
echo "📦 Creating release for tag: $TAG_NAME"
|
echo "📦 Creating release for tag: $TAG_NAME"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue