Add go package upload
This commit is contained in:
parent
e2ee925b98
commit
3ca9da4e97
@ -44,6 +44,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Generate and Upload Package to Go Registry
|
- name: Generate and Upload Package to Go Registry
|
||||||
run: |
|
run: |
|
||||||
|
echo "GOMODCACHE $GOMODCACHE GOPATH $GOPATH"
|
||||||
echo "Generating package archive for ${GO_MOD_PATH}@${{ github.ref_name }}"
|
echo "Generating package archive for ${GO_MOD_PATH}@${{ github.ref_name }}"
|
||||||
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