vscode-winsta11er/.github/workflows/go.yml

38 строки
807 B
YAML

name: Release Binaries
on:
push:
tags: "v*"
jobs:
release:
name: Release
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17.0-rc2
stable: 'false'
- 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 }}"
prerelease: false
files: |
*.exe