From a69963dbf3b6c0c078a81a88e6bd4e1eee9863c1 Mon Sep 17 00:00:00 2001 From: Ryan D McGuire Date: Mon, 16 Dec 2024 16:28:20 -0500 Subject: [PATCH] Add go package upload --- .gitea/workflows/ci.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 96ae4bf..2882c4f 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -44,11 +44,8 @@ jobs: - name: Generate and Upload Package to Go Registry run: | - echo "Generating package archive for ${GO_MOD_PATH}@${{ github.ref_name }}" - go mod tidy -v go list --json - echo "Generating archive, GOPRIVATE: $GOPRIVATE" - go mod download --json ${GO_MOD_PATH}@${{ github.ref_name }} > package.json + go mod download -x --json ${GO_MOD_PATH}@${{ github.ref_name }} 2>&1 if [[ $? -ne 0 ]]; then echo "Failed to generage go package archive for ${GO_MOD_PATH}@${{ github.ref_name }}" exit 1