Closed msdolbey closed 4 months ago
Hey @msdolbey, thanks for reporting. Investigating now
Hey @msdolbey, I can't reproduce this on our own repos. Is it possible the action is used in multiple places, or do you have some sort of caching in place for actions?
If you're ok sharing the full workflow yaml, I could also debug with the team some more
I also just ran into same issue as well
Getting action download info
Error: Unable to resolve action. Repository not found: jetpack-io/devbox-install-action
https://github.com/jetify-com/devbox-install-action/pull/42 seems like maybe because of this ^ change?
A couple of clarifications: it seems we had to re-publish the releases (since Github didn't auto-migrate over the old github action). IIUC 0.9.0
was re-published.
The snippet below seems to be working for us (in our internal repos):
- name: Install devbox
uses: jetify-com/devbox-install-action@v0.9.0
with:
enable-cache: true
Could you share the yaml snippet that you have tried with that is failing?
Is 0.7.0 republished? This is what I have
uses: jetpack-io/devbox-install-action@v0.7.0
with:
enable-cache: 'true'
refresh-cli: 'false'
disable-nix-access-token: 'false'
devbox-version: 0.7.0
@alim-banked can you try changing to 0.9.0 please?
@savil : is it possible to keep the 0.7.0 release, it might requires some testings to roll out from 0.7.0 -> 0.9.0
@alim-banked yeah, I'm going thru the older versions and hitting "publish" on them. 0.7.0
is now listed in Github Marketplace's versions https://github.com/marketplace/actions/devbox-installer.
@alim-banked you can do uses: jetify-com/devbox-install-action@v0.9.0
with devbox-version: 0.7.0
. Those does not have to match. Unless you are saying you need the 0.7.0 action version (which we don't have a lot of changes from 0.7 to 0.9, so it should be relatively safe).
And thanks @savil for republishing the older versions
switching to uses: jetpack-io/devbox-install-action@v0.9.0
with devbox-version: 0.7.0
works great. Thanks!
@alim-banked sorry, should be jetify-com/devbox-install-action@v0.9.0
. Or is jetpack-io/...
also still working?
@msdolbey can you let us know if it's working now for you? If not, could you share the exact yaml snippet you are trying with?
I switched to use jetify-com/devbox-install-action@v0.9.0
@savil - sorry for the delay - I signed offline - Here's what we're using (still failed this a.m.):
jobs:
code-checks:
...
steps:
- name: Checkout
uses: actions/checkout@v4
with:
...
- uses: cachix/install-nix-action@v26
...
- name: Install devbox
uses: jetify-com/devbox-install-action@v0.9.0
with:
enable-cache: "true"
skip-nix-installation: "true"
- name: Run Setup
run: devbox run -- npm run ci:setup
- name: Git Status Changes
run: devbox run -- ./scripts/ci/git-status-changes.sh
- name: Lint ui-kit
run: devbox run -- npm --prefix packages/ui-kit run lint
- name: Unit Tests ui-kit
run: devbox run -- npm --prefix packages/ui-kit run test
- name: Build ui-kit
run: devbox run -- npm --prefix packages/ui-kit run dist
- name: Run Prettier
run: devbox run -- npm run lint:prettier
- name: Lint TypeScript
run: devbox run -- npm run lint:ts
- name: Test Types
run: devbox run -- npm run test:types
- name: Unit Tests
run: devbox run -- npm run test:unit
- name: Lint Chart
run: devbox run -- ct lint --charts ...
Okay @savil @Lagoja Our issues are now resolved. Our GHA was still pulling from what was on main, and not what was on the feature branch with the fix. We're all good here. My issue is resolved.
Good to know, thank you! Closing the issue now.
I've used both jetify-com/devbox-install-action@v0.8.0 and jetify-com/devbox-install-action@v0.9.0
in our github action workflow yaml, and both are failing to retrieve the repo, and instead I'm seeing this return: