mirror of
https://github.com/slackhq/nebula.git
synced 2026-05-10 22:22:27 -07:00
Remove test sign flow
This commit is contained in:
parent
278c72462b
commit
4a24ea37a2
1 changed files with 0 additions and 48 deletions
48
.github/workflows/code-sign-test.yml
vendored
48
.github/workflows/code-sign-test.yml
vendored
|
|
@ -1,48 +0,0 @@
|
|||
name: Test Windows code-signing
|
||||
|
||||
# Manual signing rehearsal: builds the Windows binaries, runs the code-sign
|
||||
# action against them, uploads the signed result. Use to validate the
|
||||
# signing path without cutting a release. Never runs automatically.
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build-and-sign:
|
||||
name: Build and sign
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: read
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version: '1.25'
|
||||
check-latest: true
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
mkdir build\windows-amd64
|
||||
$Env:GOARCH = "amd64"
|
||||
go build -trimpath -ldflags "-X main.Build=codesign-test-${Env:GITHUB_SHA}" -o build\windows-amd64\nebula.exe ./cmd/nebula-service
|
||||
go build -trimpath -ldflags "-X main.Build=codesign-test-${Env:GITHUB_SHA}" -o build\windows-amd64\nebula-cert.exe ./cmd/nebula-cert
|
||||
mkdir build\windows-arm64
|
||||
$Env:GOARCH = "arm64"
|
||||
go build -trimpath -ldflags "-X main.Build=codesign-test-${Env:GITHUB_SHA}" -o build\windows-arm64\nebula.exe ./cmd/nebula-service
|
||||
go build -trimpath -ldflags "-X main.Build=codesign-test-${Env:GITHUB_SHA}" -o build\windows-arm64\nebula-cert.exe ./cmd/nebula-cert
|
||||
|
||||
- name: Code-sign
|
||||
uses: ./.github/actions/code-sign
|
||||
with:
|
||||
path: build
|
||||
role: ${{ secrets.DEFINED_CODE_SIGNER_ROLE }}
|
||||
bucket: ${{ secrets.DEFINED_CODE_SIGNER_BUCKET }}
|
||||
|
||||
- name: Upload signed artifact
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: codesign-test
|
||||
path: build
|
||||
retention-days: 7
|
||||
Loading…
Add table
Add a link
Reference in a new issue