Hi, I am facing an issue with the following githu...
# package-authoring
p
Hi, I am facing an issue with the following github action, What is the fix for this.
Copy code
- name: Call upgrade provider action
        id: upgrade_provider
        if: steps.target_version.outputs.version != ''
        continue-on-error: true
        uses: pulumi/pulumi-upgrade-provider-action@ff5cb5907aecba099e61146c4d4d074c7fd6ca99 # v0.0.15
        with:
          kind: all
          email: <mailto:bot@pulumi.com|bot@pulumi.com>
          username: pulumi-bot
          automerge: true
          target-version: ${{ steps.target_version.outputs.version }}
          allow-missing-docs: true
Error:
Copy code
- Upgrade Pulumi version in all places
 Get Pulumi SDK version: v3.156.0
 /opt/hostedtoolcache/go/1.21.13/x64/bin/go get <http://github.com/pulumi/pulumi/sdk/v3@v|github.com/pulumi/pulumi/sdk/v3@v>...: exit status 1:
go: go.mod file not found in current directory or any parent directory.
	'go get' is no longer supported outside a module.
	To build and install a command, use 'go install' with a version,
	like 'go install <http://example.com/cmd@latest|example.com/cmd@latest>'
	For more information, see <https://golang.org/doc/go-get-install-deprecation>
	or run 'go help get' or 'go help install'.

Error: Process completed with exit code 1.