-
Notifications
You must be signed in to change notification settings - Fork 81
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
FYI: Container actions only work on linux builds #11
Comments
what is work for my builds ?this is my personal subject .plese don't distrib me.-:) |
yes.
IBM.Com
…On Thu, Dec 19, 2019, 5:42 AM Rkb hasan ***@***.***> wrote:
what is work for my builds ?this is my personal subject .plese don't
distrib me.-:)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#11?email_source=notifications&email_token=ALDTO5WSW3D3P3X5OTMF3XTQZKYPRA5CNFSM4JP5J5V2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHH324I#issuecomment-567262577>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALDTO5XCWA553RD72GX25NTQZKYPRANCNFSM4JP5J5VQ>
.
|
Hello. Sorry for the late response. I finally have some free time to check this issue. Thanks for your patience. |
Confirming this is still an issue I am getting the error on the following builds.
|
Hello. Sorry, I totally forgot about this issue. Apparently, containerized Actions can only runs on Linux environments according to this doc : https://help.github.com/en/actions/building-actions/about-actions#types-of-actions I can't find any proper way to make it compatible, except to migrate it to a pure Javascript Action, which would make it a breaking change. For now, if you use a GitHub-hosted runner, I recommend to use the jobs:
build:
runs-on: ubuntu-18.04
steps:
- name: Discord notification
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@master
with:
args: 'The project {{ EVENT_PAYLOAD.repository.full_name }} has been deployed.' Sorry to answer this issue after so long ... only to provide so little help. If someone has a workaround for this, I would be glad to document this or apply a fix. I admit that this can be a pain. Let's hope that GitHub has planned some solutions in the near future 🤞 . |
I'm commenting here because someone surely, someday, will come back again and wonder how to do it on windows.
There you go, no dependencies needed, not even this action. just a simple curl request. |
Doesn't work for windows builds. Might want to mention in docs.
The text was updated successfully, but these errors were encountered: