Closed StefMa closed 3 months ago
@StefMa Great point! Yes indeed, I've hard-coded "pkl-linux-amd64"
here: https://github.com/pkl-community/setup-pkl/blob/main/src/main.ts#L31 but would love to support other runners. I think it would just be a matter of implementing similar templating logic as here: https://github.com/pkl-community/node-packages/blob/main/pkl/src/index.ts#L8
PRs very welcome!
Hey @jasongwartz ,
I played around with it a bit. I created a PR on my fork, to verify that it works: https://github.com/StefMa/setup-pkl/pull/1
But for some reasons the Github Actions doesn't run... Do you know why? 🤔
@StefMa Looks like this is something people have encountered before, eg: https://github.com/orgs/community/discussions/50736
I just tried it out and forked this repo, went to the Actions tab, and saw this screen:
So perhaps you have to enable them in your fork on the Actions tab?
Yay! That worked. Thanks for the hint!
On Sat, Mar 30, 2024, 1:26 PM Jason Gwartz @.***> wrote:
@StefMa https://github.com/StefMa Looks like this is something people have encountered before, eg: https://github.com/orgs/community/discussions/50736
I just tried it out and forked this repo, went to the Actions tab, and saw this screen: image.png (view on web) https://github.com/pkl-community/setup-pkl/assets/10981911/0c096c9b-0912-45b7-9f7e-1fa1c2fb5052
So perhaps you have to enable them in your fork on the Actions tab?
— Reply to this email directly, view it on GitHub https://github.com/pkl-community/setup-pkl/issues/6#issuecomment-2028035853, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACOBQ63EXYEQB4MOJP5WRNTY22VOVAVCNFSM6AAAAABEV4M5COVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRYGAZTKOBVGM . You are receiving this because you were mentioned.Message ID: @.***>
Right now only Linux runners are supported. I guess this action should support all default runners (windows and macos). Pkl supports all of these (windows via Java and macos as native binary). However, the Java binary is not yet published as a release, but next release.