Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About the latest release #3179

Closed
chenrui333 opened this issue Jul 18, 2023 · 5 comments · Fixed by #3183
Closed

About the latest release #3179

chenrui333 opened this issue Jul 18, 2023 · 5 comments · Fixed by #3183

Comments

@chenrui333
Copy link

👋 it looks like 0.30.6 did not complete successfully, raise this issue for some awareness. Thanks!

relates to Homebrew/homebrew-core#136845

@github-actions
Copy link
Contributor

Howdy 🖐   chenrui333 ! Thank you for your interest in this project. We value your feedback and will respond soon.

If you want to contribute to this project, please make yourself familiar with the CONTRIBUTION guidelines.

@lubronzhan
Copy link
Contributor

Related error
https://github.com/vmware/govmomi/actions/runs/5579622016/job/15109828705

  • checking distribution directory
  • loading go mod information
  ⨯ release failed after 0s                  error=failed to get module path: exit status 2: flag provided but not defined: -m
usage: list [-e] [-race] [-f format] [-json] [-tags 'tag list'] [packages]

List lists the packages named by the import paths, one per line.

The default output shows the package import path:

So the error comes from golang

go list -m

From above, it doesn't have -m flag

This is weird. because golang 1.19 and 1.20 both have this flag. And here it set golang to 1.20.

@lubronzhan
Copy link
Contributor

lubronzhan commented Jul 21, 2023

Ok found it here. This is golang 1.2.2?????


5s
Run actions/setup-go@v3
Setup go version spec [1](https://github.com/vmware/govmomi/actions/runs/5579622016/job/15109828705#step:5:1).2
Attempting to download 1.2...
matching 1.2...
Not found in manifest.  Falling back to download directly from Go
Install from dist
Acquiring go1.2.2 from https://storage.googleapis.com/golang/go1.2.2.linux-amd64.tar.gz
Extracting Go...
/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /home/runner/work/_temp/d074[9](https://github.com/vmware/govmomi/actions/runs/5579622016/job/15109828705#step:5:10)a70-3b15-47a5-a191-9ec8b14e0b44 -f /home/runner/work/_temp/2b30b36e-8e14-4025-a181-4c50617c83[10](https://github.com/vmware/govmomi/actions/runs/5579622016/job/15109828705#step:5:11)
Successfully extracted go to /home/runner/work/_temp/d0749a70-3b15-47a5-a191-9ec8b[14](https://github.com/vmware/govmomi/actions/runs/5579622016/job/15109828705#step:5:15)e0b44
Adding to the cache ...
Successfully cached go to /opt/hostedtoolcache/go/1.2.2/x64
Added go to the path
Setting GOROOT for Go version < 1.9
Successfully set up Go version 1.2
go version go1.2.2 linux/amd64

go env

@dougm do you know which branch is this?
I do see on release-1.30 is this config

- name: Set up Go
        uses: actions/setup-go@v3
        with:
          go-version: 1.20

@lubronzhan
Copy link
Contributor

Oh need to quote actions/setup-go#328

@lubronzhan
Copy link
Contributor

Hi @dougm just a reminder, after the fix, I think you still need to cut 0.30.6?

dougm pushed a commit that referenced this issue Aug 4, 2023
priyanka19-98 pushed a commit to priyanka19-98/govmomi that referenced this issue Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants