Skip to content

Commit

Permalink
Multi arch release retr
Browse files Browse the repository at this point in the history
  • Loading branch information
academo committed Jul 24, 2023
1 parent da5130c commit 67a69e6
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,42 +5,42 @@ on:
types: [created]

jobs:
release-linux-amd64:
name: release linux/amd64
# release-linux-amd64:
# name: release linux/amd64
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: wangyoucao577/[email protected]
# with:
# pre_command: export CGO_ENABLED=0
# github_token: ${{ secrets.DEPLOY_TOKEN }}
# goos: linux
# goarch: amd64
# goversion: 1.20.1
# binary_name: grafana-ntfy
# project_path: ./pkg/
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
# build and publish in parallel: linux/386, linux/amd64, linux/arm64, windows/386, windows/amd64, darwin/amd64, darwin/arm64
goos: [linux, windows, darwin]
goarch: ["386", amd64, arm64]
exclude:
- goarch: "386"
goos: darwin
- goarch: arm64
goos: windows
steps:
- uses: actions/checkout@v3
# - uses: wangyoucao577/go-release-action@v1
- uses: wangyoucao577/[email protected]
with:
pre_command: export CGO_ENABLED=0
github_token: ${{ secrets.DEPLOY_TOKEN }}
goos: linux
goarch: amd64
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: 1.20.1
binary_name: grafana-ntfy
project_path: ./pkg/
# releases-matrix:
# name: Release Go Binary
# runs-on: ubuntu-latest
# strategy:
# matrix:
# # build and publish in parallel: linux/386, linux/amd64, linux/arm64, windows/386, windows/amd64, darwin/amd64, darwin/arm64
# goos: [linux, windows, darwin]
# goarch: ["386", amd64, arm64]
# exclude:
# - goarch: "386"
# goos: darwin
# - goarch: arm64
# goos: windows
# steps:
# - uses: actions/checkout@v3
# # - uses: wangyoucao577/go-release-action@v1
# - uses: wangyoucao577/[email protected]
# with:
# pre_command: export CGO_ENABLED=0
# github_token: ${{ secrets.GITHUB_TOKEN }}
# goos: ${{ matrix.goos }}
# goarch: ${{ matrix.goarch }}
# goversion: 1.20.1
# project_path: "./pkg/"
# binary_name: "grafana-ntfy"

0 comments on commit 67a69e6

Please sign in to comment.