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

Does not work on windows #32

Open
kmodexc opened this issue Jan 10, 2022 · 2 comments
Open

Does not work on windows #32

kmodexc opened this issue Jan 10, 2022 · 2 comments
Assignees

Comments

@kmodexc
Copy link

kmodexc commented Jan 10, 2022

The following error shows:

Run skx/github-action-publish-binaries@master
  with:
    args: win-amd64-smartcontroler*
  env:
    pythonLocation: C:\hostedtoolcache\windows\Python\3.10.1\x64
    GITHUB_TOKEN: ***
Error: Container action is only supported on Linux

Other actions work on linux and windows. Is it possible to make this work on windows too?

@skx
Copy link
Owner

skx commented Jan 13, 2022

I'm not sure what would be required to be honest.

If somebody were to give me a pull-request I'd merge it, but I think otherwise it would probably not be a priority for me, sorry!

@skx skx self-assigned this Jan 13, 2022
@bramtayl
Copy link

Based on the code in the repository, I made this set of commands that work on Windows. The ubuntu code runs find on macOS as is.

iwr -useb get.scoop.sh -outfile 'install.ps1'
.\install.ps1 -RunAsAdmin
scoop update
scoop install curl
scoop install jq
$env:RELEASE_ID = jq --raw-output ".release.id" "${env:GITHUB_EVENT_PATH}"
curl.exe -X "POST" -H "Authorization: token ${{secrets.GITHUB_TOKEN}}" --upload-file "${{github.workspace}}/build/Justly-0.1.0-win64.exe" --header "Content-Type:application/octet-stream" "https://uploads.github.com/repos/${env:GITHUB_REPOSITORY}/releases/${env:RELEASE_ID}/assets?name=Justly-0.1.0-win64.exe"

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

No branches or pull requests

3 participants