Skip to content

🚀 Release Binary

🚀 Release Binary #3

Workflow file for this run

name: 🚀 Release Binary
on:
release:
types: [published]
permissions:
contents: write # To add binaries to release
jobs:
binaries:
runs-on: ubuntu-latest
container:
image: docker.io/goreleaser/goreleaser-cross:v1.25
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Goreleaser
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# Required because of https://github.com/actions/checkout/issues/766
git config --global --add safe.directory "${GITHUB_WORKSPACE}"
goreleaser release