Skip to content

Commit

Permalink
Upload zip files when releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasjackson committed Jan 15, 2020
1 parent 93463b4 commit f9251b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
run: |
CGO_ENABLED=0 GOOS=${{matrix.OS}} GOARCH=${{matrix.ARCH}} go build -ldflags "-X main.version=${{ github.tag }}" -o bin/${{ matrix.OS }}-${{ matrix.ARCH }}/yard2 main.go
mkdir -p release/shipyard-${{ matrix.OS }}-${{ matrix.ARCH }}
zip -j release/shipyard-${{ matrix.OS }}-${{ matrix.ARCH }}/shipyard-${{ matrix.OS }}-${{ matrix.ARCH }} /bin/${{ matrix.OS }}-${{ matrix.ARCH }}/yard2
zip -j release/shipyard-${{ matrix.OS }}-${{ matrix.ARCH }}/shipyard-${{ matrix.OS }}-${{ matrix.ARCH }} bin/${{ matrix.OS }}-${{ matrix.ARCH }}/yard2
- name: Stash binary
uses: actions/upload-artifact@v1
Expand Down

0 comments on commit f9251b6

Please sign in to comment.