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