Skip to content

Commit

Permalink
setup: release artifact workflow (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian authored Sep 28, 2024
1 parent bf2085d commit 4111e38
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Ansible MacOS
# .github/workflows/release.yaml
name: MacOS Build setup_quanianitis

on:
push:
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# .github/workflows/release.yaml
name: Release setup_quanianitis

on:
release:
types: [published]

permissions:
contents: write
packages: write

jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, darwin]
goarch: [amd64, arm64]

steps:
- uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
binary_name: "setup_quanianitis"

0 comments on commit 4111e38

Please sign in to comment.