Skip to content

Commit

Permalink
chore(actions): removing duplicate build
Browse files Browse the repository at this point in the history
  • Loading branch information
asishrs committed Jan 12, 2020
1 parent cfcfede commit 5593a14
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,14 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v1

- name: build
- name: Build
run: |
export GO111MODULE=on
GOOS=linux go build -o bin/main
zip bin/release.zip bin/main
GOOS=linux go build -o main
# zip bin/release.zip bin/main
- name: Archive artifacts
- name: Archive Artifacts
uses: actions/upload-artifact@v1
with:
name: release
path: bin/release.zip

- name: Build
run: GOOS=linux go build -o main .
name: deployment
path: main

0 comments on commit 5593a14

Please sign in to comment.