This commit is contained in:
SteVen Batten 2021-08-13 15:59:05 -07:00
Родитель f63250810c
Коммит 4d94ac13e9
1 изменённых файлов: 12 добавлений и 7 удалений

19
.github/workflows/go.yml поставляемый
Просмотреть файл

@ -8,10 +8,6 @@ jobs:
release: release:
name: Release name: Release
runs-on: windows-latest runs-on: windows-latest
strategy:
matrix:
goos: [ "windows" ]
goarch: ["386", "amd64", "arm64" ]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -21,9 +17,18 @@ jobs:
go-version: 1.17.0-rc2 go-version: 1.17.0-rc2
stable: 'false' stable: 'false'
- name: Build - name: Build x64
run: go build -v -o "vscode-winsta11er-${{ matrix.goarch }}.exe" 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" - uses: "marvinpinto/action-automatic-releases@latest"
with: with:
repo_token: "${{ secrets.GITHUB_TOKEN }}" repo_token: "${{ secrets.GITHUB_TOKEN }}"