mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-07-07 12:57:54 +02:00
@@ -65,7 +65,7 @@ jobs:
|
||||
-e CGO_ENABLED=1 \
|
||||
-e GOOS=linux \
|
||||
-e GOARCH=amd64 \
|
||||
golang:1.25.1 \
|
||||
golang:1.25.7 \
|
||||
go build -trimpath \
|
||||
-ldflags='-X github.com/phishingclub/phishingclub/version.hash=ph${{ steps.get_version.outputs.HASH }} -X github.com/phishingclub/phishingclub/version.version=${{ steps.get_version.outputs.VERSION }}' \
|
||||
-tags production -o ../build/amd64/phishingclub main.go
|
||||
@@ -78,7 +78,7 @@ jobs:
|
||||
-e GOOS=linux \
|
||||
-e GOARCH=arm64 \
|
||||
-e CC=aarch64-linux-gnu-gcc \
|
||||
golang:1.25.1 \
|
||||
golang:1.25.7 \
|
||||
bash -c "apt-get update && apt-get install -y gcc-aarch64-linux-gnu && go build -trimpath -ldflags='-X github.com/phishingclub/phishingclub/version.hash=ph${{ steps.get_version.outputs.HASH }} -X github.com/phishingclub/phishingclub/version.version=${{ steps.get_version.outputs.VERSION }}' -tags production -o ../build/arm64/phishingclub main.go"
|
||||
|
||||
- name: Fix build directory permissions
|
||||
|
||||
@@ -65,7 +65,7 @@ jobs:
|
||||
-e CGO_ENABLED=1 \
|
||||
-e GOOS=linux \
|
||||
-e GOARCH=amd64 \
|
||||
golang:1.25.1 \
|
||||
golang:1.25.7 \
|
||||
go build -trimpath \
|
||||
-ldflags='-X github.com/phishingclub/phishingclub/version.hash=ph${{ steps.get_version.outputs.HASH }} -X github.com/phishingclub/phishingclub/version.version=${{ steps.get_version.outputs.VERSION }}' \
|
||||
-tags production -o ../build/amd64/phishingclub main.go
|
||||
@@ -78,7 +78,7 @@ jobs:
|
||||
-e GOOS=linux \
|
||||
-e GOARCH=arm64 \
|
||||
-e CC=aarch64-linux-gnu-gcc \
|
||||
golang:1.25.1 \
|
||||
golang:1.25.7 \
|
||||
bash -c "apt-get update && apt-get install -y gcc-aarch64-linux-gnu && go build -trimpath -ldflags='-X github.com/phishingclub/phishingclub/version.hash=ph${{ steps.get_version.outputs.HASH }} -X github.com/phishingclub/phishingclub/version.version=${{ steps.get_version.outputs.VERSION }}' -tags production -o ../build/arm64/phishingclub main.go"
|
||||
|
||||
- name: Fix build directory permissions
|
||||
|
||||
Reference in New Issue
Block a user