Skip to content

just try mac cross compile builds for now #5

just try mac cross compile builds for now

just try mac cross compile builds for now #5

Workflow file for this run

name: Release
on:
push:
tags:
- '*'
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Extract version
id: extract-version
run: |
printf "::set-output name=%s::%s\n" tag-name "${GITHUB_REF#refs/tags/}"
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.20"
- name: OSXCross for CGO Support
run: |
mkdir ../../osxcross
git clone https://github.com/plentico/osxcross-target.git ../../osxcross/target
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Bump Homebrew tap
uses: macauley/action-homebrew-bump-cask@v1
with:
token: ${{ secrets.HOMEBREW_UPDATER_PAT }}
tap: jacobbednarz/homebrew-tap
cask: cf-vault
livecheck: true
dryrun: false