Add go package upload
This commit is contained in:
parent
954045cd09
commit
22cb6ca030
@ -46,7 +46,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "Generating package archive for ${GO_MOD_PATH}@${{ github.ref_name }}"
|
echo "Generating package archive for ${GO_MOD_PATH}@${{ github.ref_name }}"
|
||||||
go mod tidy -v
|
go mod tidy -v
|
||||||
go mod list
|
go list --json
|
||||||
echo "Generating archive, GOPRIVATE: $GOPRIVATE"
|
echo "Generating archive, GOPRIVATE: $GOPRIVATE"
|
||||||
go mod download --json ${GO_MOD_PATH}@${{ github.ref_name }} > package.json
|
go mod download --json ${GO_MOD_PATH}@${{ github.ref_name }} > package.json
|
||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user