chore(main): release 1.14.1 #98
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
branches: ["*"] | |
tags-ignore: | |
- "release-please--*" # Exclude tags containing "staging" | |
name: test build | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
repository: ${{ github.event.pull_request.head.repo.full_name }} | |
ref: ${{ github.head_ref }} | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "^1.23.3" | |
- name: Build project and prepare release artifact | |
run: | | |
env GOOS=darwin GOARCH=arm64 go build -ldflags "-X github.com/y3owk1n/cpenv/cmd.Version=${{ steps.release.outputs.tag_name }}" -o ./compile/cpenv-darwin-arm64 ./main.go | |
env GOOS=darwin GOARCH=amd64 go build -ldflags "-X github.com/y3owk1n/cpenv/cmd.Version=${{ steps.release.outputs.tag_name }}" -o ./compile/cpenv-darwin-amd64 ./main.go |