Skip to content

v1.94.0

v1.94.0 #116

Workflow file for this run

name: Release binary builder
on: # yamllint disable-line rule:truthy
release:
types: [published]
permissions:
attestations: write
contents: write
id-token: write
packages: write
jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, windows, darwin]
goarch: ["386", amd64, arm64]
exclude:
- goarch: "386"
goos: darwin
- goarch: arm64
goos: windows
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: wangyoucao577/go-release-action@279495102627de7960cbc33434ab01a12bae144b # v1.55
id: go_release
with:
goversion: go.mod
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
binary_name: dependabot
project_path: cmd/dependabot
ldflags: >-
-X github.com/dependabot/cli/cmd/dependabot/internal/cmd.version=${{ github.event.release.tag_name }}
- uses: actions/attest-build-provenance@4d101475d8b20a2381f78447822ac1eab6504dd8 # v4.2.2
with:
subject-path: |
${{ steps.go_release.outputs.release_asset_dir }}/*
cmd/dependabot/dependabot-${{ github.ref_name}}-${{ matrix.goos }}-${{ matrix.goarch }}.tar.gz
cmd/dependabot/dependabot-${{ github.ref_name}}-${{ matrix.goos }}-${{ matrix.goarch }}.zip