Skip to content

Commit

Permalink
add MacOS to releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Porco-Rosso committed Jul 21, 2024
1 parent 35fe5af commit b2baff8
Showing 1 changed file with 21 additions and 13 deletions.
34 changes: 21 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,24 @@ permissions:
packages: write

jobs:
release-linux-amd64:
name: release linux/amd64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: [linux, darwin]
goarch: [amd64, arm64]
exclude:
- goarch: "386"
goos: darwin
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, darwin]
goarch: [amd64, arm64]
exclude:
- goarch: "386"
goos: darwin

steps:
- uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
binary_name: "lipgloss-on-a-pig"
overwrite: TRUE
goversion: '1.22.5'

0 comments on commit b2baff8

Please sign in to comment.