|
|
@ -218,7 +218,7 @@ jobs:
|
|
|
|
GOLDFLAGS: "${{ needs.get-product-version.outputs.shared-ldflags }}"
|
|
|
|
GOLDFLAGS: "${{ needs.get-product-version.outputs.shared-ldflags }}"
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
mkdir dist out
|
|
|
|
mkdir dist out
|
|
|
|
go build -ldflags="$GOLDFLAGS" -o dist/ .
|
|
|
|
go build -ldflags="$GOLDFLAGS" -tags netcgo -o dist/ .
|
|
|
|
zip -r -j out/${{ env.PKG_NAME }}_${{ needs.get-product-version.outputs.product-version }}_${{ matrix.goos }}_${{ matrix.goarch }}.zip dist/
|
|
|
|
zip -r -j out/${{ env.PKG_NAME }}_${{ needs.get-product-version.outputs.product-version }}_${{ matrix.goos }}_${{ matrix.goarch }}.zip dist/
|
|
|
|
|
|
|
|
|
|
|
|
- uses: actions/upload-artifact@v2
|
|
|
|
- uses: actions/upload-artifact@v2
|
|
|
|