diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index fb09e47..5bb16da 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -1,4 +1,5 @@ -name: Ansible MacOS +# .github/workflows/release.yaml +name: MacOS Build setup_quanianitis on: push: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..01a0b73 --- /dev/null +++ b/.github/workflows/release.yaml @@ -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"