From 96983d70c8a2c489e23416c3153a39cd988e1390 Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Thu, 27 Nov 2025 20:31:56 +0000 Subject: [PATCH] ci: fix stable, add gh token for publishing haven't done a stable with woodpecker, I hope it works! --- .woodpecker/stable-binary.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.woodpecker/stable-binary.yaml b/.woodpecker/stable-binary.yaml index e805958..2653c99 100644 --- a/.woodpecker/stable-binary.yaml +++ b/.woodpecker/stable-binary.yaml @@ -11,11 +11,31 @@ clone: depth: 0 steps: + - name: precompile + image: docker.io/hrfee/jfa-go-build-docker:latest + environment: + JFA_GO_SNAPSHOT: y + JFA_GO_BUILT_BY: + from_secret: BUILT_BY + commands: + - npm i + - make precompile + - go mod download + - name: test + image: docker.io/hrfee/jfa-go-build-docker:latest + environment: + JFA_GO_SNAPSHOT: y + JFA_GO_BUILT_BY: + from_secret: BUILT_BY + commands: + - make test - name: build image: docker.io/hrfee/jfa-go-build-docker:latest environment: JFA_GO_BUILT_BY: from_secret: BUILT_BY + GITHUB_TOKEN: + from_secret: GITHUB_TOKEN commands: - curl -sfL https://goreleaser.com/static/run > ../goreleaser - chmod +x ../goreleaser