Skip to content

feat(proxy,mcp): tool argument and network response DLP hardening (#33) #26

feat(proxy,mcp): tool argument and network response DLP hardening (#33)

feat(proxy,mcp): tool argument and network response DLP hardening (#33) #26

Workflow file for this run

name: Release
on:
push:
tags: ["v*"]
permissions:
contents: write
jobs:
release-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Install arm64 cross-compiler
run: sudo apt-get update && sudo apt-get install -y gcc-aarch64-linux-gnu
- uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
release-darwin:
runs-on: macos-latest
needs: release-linux
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Build darwin binaries
run: |
CGO_ENABLED=1 GOOS=darwin GOARCH=arm64 go build -ldflags='-s -w' -o sluice_darwin_arm64 ./cmd/sluice/
CGO_ENABLED=1 GOOS=darwin GOARCH=amd64 go build -ldflags='-s -w' -o sluice_darwin_amd64 ./cmd/sluice/
- name: Upload darwin binaries to release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
tag="${GITHUB_REF#refs/tags/}"
gh release upload "$tag" sluice_darwin_arm64 sluice_darwin_amd64