Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
patyhank authored Mar 24, 2022
1 parent 2e1ef48 commit 7bb3dbf
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,23 @@ jobs:
uses: actions/[email protected]
with:
go-version: 1.18.0-rc.1

- name: Build
- name: Build Windows
env:
GOOS: windows
GOARCH: amd64
run: go build -o auth-server.exe .
- name: Build
- name: Build Linux
env:
GOOS: linux
GOARCH: amd64
run: go build -o auth-server .
- name: Upload a Build Artifact
- name: Upload a Windows Build Artifact
uses: actions/[email protected]
with:
name: linux-build
path: auth-server
- name: Upload a Linux Build Artifact
uses: actions/[email protected]
with:
path: auth-server.*
name: windows-build
path: auth-server.exe

0 comments on commit 7bb3dbf

Please sign in to comment.