Add go package upload
This commit is contained in:
parent
3ca9da4e97
commit
6c987fcd9d
@ -44,7 +44,9 @@ jobs:
|
||||
|
||||
- name: Generate and Upload Package to Go Registry
|
||||
run: |
|
||||
echo "GOMODCACHE $GOMODCACHE GOPATH $GOPATH"
|
||||
mkdir -v /tmp/.gopath
|
||||
echo "GOPATH ( go env GOPATH ) GOMODCACHE $( go env GOMODCACHE )"
|
||||
stat $( go env GOMODCACHE )
|
||||
echo "Generating package archive for ${GO_MOD_PATH}@${{ github.ref_name }}"
|
||||
go mod download --json ${GO_MOD_PATH}@${{ github.ref_name }} > package.json
|
||||
if [[ $? -ne 0 ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user