Skip to content

fix: resolve compilation issues on non-Linux platforms (broker, pal_w… #5

fix: resolve compilation issues on non-Linux platforms (broker, pal_w…

fix: resolve compilation issues on non-Linux platforms (broker, pal_w… #5

Workflow file for this run

name: Release
on:
push:
branches:
- release
tags:
- '*'
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25'
cache: true
- name: Update rolling tag
if: github.ref == 'refs/heads/release'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}
git tag -f v0.0.0 ${{ github.sha }}
git push -f origin v0.0.0
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}