Skip to content

Commit

Permalink
remove matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
sbatten committed Aug 13, 2021
1 parent f632508 commit 4d94ac1
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ jobs:
release:
name: Release
runs-on: windows-latest
strategy:
matrix:
goos: [ "windows" ]
goarch: ["386", "amd64", "arm64" ]
steps:
- uses: actions/checkout@v2

Expand All @@ -21,9 +17,18 @@ jobs:
go-version: 1.17.0-rc2
stable: 'false'

- name: Build
run: go build -v -o "vscode-winsta11er-${{ matrix.goarch }}.exe"

- name: Build x64
run: |
$env:GOARCH="amd64"
go build -v -o "vscode-winsta11er-x64.exe"
- name: Build ia32
run: |
$env:GOARCH="386"
go build -v -o "vscode-winsta11er-ia32.exe"
- name: Build arm64
run: |
$env:GOARCH="arm64"
go build -v -o "vscode-winsta11er-arm64.exe"
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
Expand Down

0 comments on commit 4d94ac1

Please sign in to comment.