Skip to content

Commit

Permalink
Add uploading artifacts to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lixin9311 committed Feb 15, 2020
1 parent 5317587 commit b3928d8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,16 @@ jobs:
fi
- name: Build
run: go build -v .
run: |
mkdir build
go build -o go-shadowsocks2 -v . && zip ./build/go-shadowsocks2_linux-x64.zip go-shadowsocks2
GOOS=darwin go build -o go-shadowsocks2 -v . && zip ./build/go-shadowsocks2_darwin-x64.zip go-shadowsocks2
GOOS=windows go build -o go-shadowsocks2.exe && zip ./build/go-shadowsocks2_win-x64.zip go-shadowsocks2.exe
- name: Upload artifacts
with:
name: artifacts
path: ./build

- name: Test
run: |
Expand Down

0 comments on commit b3928d8

Please sign in to comment.