Add go package upload

This commit is contained in:
Ryan McGuire 2024-12-16 16:21:11 -05:00
parent 9f13b9fdf6
commit 954045cd09

View File

@ -46,6 +46,8 @@ jobs:
run: |
echo "Generating package archive for ${GO_MOD_PATH}@${{ github.ref_name }}"
go mod tidy -v
go mod list
echo "Generating archive, GOPRIVATE: $GOPRIVATE"
go mod download --json ${GO_MOD_PATH}@${{ github.ref_name }} > package.json
if [[ $? -ne 0 ]]; then
echo "Failed to generage go package archive for ${GO_MOD_PATH}@${{ github.ref_name }}"