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

Fix path bug + update README #28

Merged
merged 1 commit into from
Feb 5, 2025
Merged

Fix path bug + update README #28

merged 1 commit into from
Feb 5, 2025

Conversation

ksew1
Copy link
Collaborator

@ksew1 ksew1 commented Feb 4, 2025

Unfortunately, the current release is broken because it runs node dist/index.js. This worked in our tests since they were in the same directory as the dist folder. However, when this action runs as an actual GitHub Action, the path to dist is different.

Adding the GITHUB_ACTION_PATH environment variable fixes this issue. I tested this PR in cairo-coverage, and it seems to work perfectly:
Run details.

@ksew1 ksew1 requested a review from THenry14 February 4, 2025 22:12
@ksew1
Copy link
Collaborator Author

ksew1 commented Feb 4, 2025

Should we release a new version, or just replace the current one with this?

@THenry14
Copy link
Collaborator

THenry14 commented Feb 5, 2025

Should we release a new version, or just replace the current one with this?

let's replace, if possible

@ksew1 ksew1 merged commit ee00ea3 into main Feb 5, 2025
6 checks passed
@ksew1 ksew1 deleted the path-bug branch February 5, 2025 08:32
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 this pull request may close these issues.

2 participants