-
Notifications
You must be signed in to change notification settings - Fork 19
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
allow specifiying custom image url #13
Conversation
There needs to be a test. I probably need to create a new repository containing a VM image. |
Since this is TypeScript, the code needs to be compiled to JavaScript. You need to run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments.
Addressed all the comments and have updated the PR. |
Please update the readme and the changelog as well. |
added |
src/action/action.ts
Outdated
const result = await cache.downloadTool( | ||
this.operatingSystem.virtualMachineImageUrl | ||
) | ||
const imageURL = `this.input.imageURL !== '' ? this.input.imageURL : this.operatingSystem.virtualMachineImageUrl` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't look right. The whole expression on the right hand side is a string.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops, yes you are right.
Fixed.
Signed-off-by: Aisha Tammy <floss@bsd.ac>
I've created a new repository for a custom VM image [1]. Could you please add a test for that? [1] https://github.com/cross-platform-actions/test-custom-image-builder/releases/tag/v1.0.0 |
Merged in: 12af1e9. |
Release 0.18.0 Added - Add support for custom image URLs ([cross-platform-actions#13](cross-platform-actions#13)) - Add architecture alias for x86-64: x64 ([cross-platform-actions#58](cross-platform-actions#58))
Signed-off-by: Aisha Tammy floss@bsd.ac
First time working on a github action, so may have made some mistakes.
This is in conjunction with the PR to build OpenBSD snapshot images on the openbsd-builder.