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

[BUG]: Github Action Excavator sometimes downgrade package version #27

Open
3 tasks done
jonz94 opened this issue Oct 24, 2022 · 1 comment
Open
3 tasks done
Labels
bug Something isn't working

Comments

@jonz94
Copy link

jonz94 commented Oct 24, 2022

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

Github Action Excavator

Expected/Current Behaviour

Sometimes, the Excavator Action will pick up an older version of a package and assume that older version is the latest version; as a result, it make package downgrade to the older version.

But usually, the next Excavator Action will correctly pick up the latest version, and then make package upgrade back to original version.

Steps to Reproduce

  1. Setup ScoopInstaller/GithubActions' Excavator: https://github.com/matthewjberger/scoop-nerd-fonts/blob/cc6f18bed7936446d79162d72896d7753788e257/.github/workflows/schedule.yml

  2. Then the Excavator Action will run every hour, and some of them will have similar behavior as above descriptions.

Possible Solution

I'm not sure what is the root cause of this issue, will add more information if I found any.

Scoop and Buckets Version

Same as https://github.com/ScoopInstaller/GithubActions

Scoop Config

Same as https://github.com/ScoopInstaller/GithubActions

PowerShell Version

Same as https://github.com/ScoopInstaller/GithubActions

Additional Softwares

No response

@jonz94 jonz94 added the bug Something isn't working label Oct 24, 2022
@rashil2000
Copy link
Member

Sometimes, the Excavator Action will pick up an older version of a package and assume that older version is the latest version; as a result, it make package downgrade to the older version.

But usually, the next Excavator Action will correctly pick up the latest version, and then make package upgrade back to original version.

My guess is it's related to some server or network side caching - which on rare occasions makes GitHub Actions runner see an older releases page.

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