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

Installing Go 1.18 beta1 errors #176

Closed
2 of 5 tasks
leighmcculloch opened this issue Dec 14, 2021 · 1 comment
Closed
2 of 5 tasks

Installing Go 1.18 beta1 errors #176

leighmcculloch opened this issue Dec 14, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@leighmcculloch
Copy link

Description:
When installing Go 1.18 beta1, the install fails to find the binary even though it has been released.

Action version:
v2 which is at this time 331ce1d.

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:
Fails with both go1.18beta1 and go1.18.0-beta1.

Repro steps:
Demonstrated in this minimal PR: stellar/go#4143

Expected behavior:
Install Go 1.18 beta1.

Actual behavior:

Run actions/setup-go@v2
  with:
    go-version: 1.18beta1
    stable: true
    token: ***
Setup go stable version spec 1.18beta1
Attempting to download 1.18beta1...
matching 1.18beta1...
Not found in manifest.  Falling back to download directly from Go
Error: Unable to find Go version '1.18beta1' for platform linux and architecture x64.
Run actions/setup-go@v2
  with:
    go-version: 1.18.0-beta1
    stable: true
    token: ***
Setup go stable version spec 1.18.0-beta1
Attempting to download 1.18.0-beta1...
matching 1.18.0-beta1...
Not found in manifest.  Falling back to download directly from Go
Error: Unable to find Go version '1.18.0-beta1' for platform linux and architecture x64.
@leighmcculloch leighmcculloch added bug Something isn't working needs triage labels Dec 14, 2021
@leighmcculloch
Copy link
Author

Turns out I needed to set the stable param to false as well.

     - name: Set up Go
       uses: actions/setup-go@v2
       with:
         go-version: ${{ matrix.go }}
         stable: ${{ !contains(matrix.go, 'beta') }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants