Skip to content
New issue

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

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

Already on GitHub? # to your account

[BUG] Error: File not found: '/home/runner/work/_actions/julia-actions/setup-julia/v2/dist/index.js' #278

Closed
giordano opened this issue Aug 30, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@giordano
Copy link
Member

Describe the bug

This action is now broken

To Reproduce

      - uses: julia-actions/setup-julia@v2

Using version 2.4.0 just published

Expected behavior

The workflow doesn't crash immediately

Screenshots/Build logs

https://github.com/JuliaPackaging/JLLWrappers.jl/actions/runs/10636073649/job/29487082230?pr=67

Additional context

N/A

@IanButterworth
Copy link
Member

IanButterworth commented Aug 30, 2024

Should be fixed now. Sorry. I forgot to update the tag to the tip of the release branch after missing adding that index file.
(Our detailed dev docs need some additional check...)

@giordano
Copy link
Member Author

Is there a way to automate whatever needs to be done to publish a new release?

@IanButterworth
Copy link
Member

That'd be nice.
The mistake I made was skipping a step in https://github.com/julia-actions/setup-julia/blob/master/devdocs/making_a_new_release.md#step-4-remove-the-dist-line-from-the-gitignore-file

The tip of that branch passed after I fixed it, but the tip wasn't where the tags were

@giordano
Copy link
Member Author

Feels like all the instructions in that file should be a dispatch workflow so that you click a button and everything is done automatically.

@IanButterworth
Copy link
Member

Indeed.

@IanButterworth
Copy link
Member

Judging by JuliaPackaging/JLLWrappers.jl#67 we can close this. Thanks for the fast report!

@giordano
Copy link
Member Author

For example you could read the version number from package.json and automatically publish the version, I do something like that for a VS Code extension: https://github.com/oracc/nisaba/blob/0464b23c1af964f4fc5d0102a89ff51355b3c610/.github/workflows/tag.yml
BTW, the version number is still 2.3.0:

"version": "2.3.0",

@IanButterworth
Copy link
Member

Yeah, our release notes don't handle when the version on master should be updated (#279)

TagBot has a similar thing to that https://github.com/JuliaRegistries/TagBot/actions/workflows/publish.yml

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

No branches or pull requests

2 participants