Add go package upload

This commit is contained in:
Ryan McGuire 2024-12-16 16:23:24 -05:00
parent 954045cd09
commit 22cb6ca030

View File

@ -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