-
-
Notifications
You must be signed in to change notification settings - Fork 92
deperecated dependency: 100% failure #124
Comments
GitHub made a breaking change, and this may get us through until this action is updated. refs: actions-rs/toolchain#114 refs: actions-rs/toolchain#124
There's more to resolving this than just bumping the dep. Here's the workaround I'm going to use for the moment: diff --git a/.github/workflows/gen_centos7.yml b/.github/workflows/gen_centos7.yml
index 94fefcb6..8419966d 100644
--- a/.github/workflows/gen_centos7.yml
+++ b/.github/workflows/gen_centos7.yml
@@ -53,12 +53,14 @@ jobs:
shell: bash
run: "git fetch --prune --unshallow"
- name: "Install Rust"
- uses: actions-rs/toolchain@v1
+ uses: actions-rs/toolchain@dependabot/npm_and_yarn/actions/core-1.2.6
with:
profile: "minimal"
toolchain: "stable"
override: true
components: "rustfmt"
+ env:
+ ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
- name: "Cache cargo"
uses: actions/cache@v2
with: I think the full and righteous fix is to update the dep and to adjust the action to use the environment file mentioned on the linked documentation. |
I would advocate for renaming this issue: |
* speculative fix for CI GitHub made a breaking change, and this may get us through until this action is updated. refs: actions-rs/toolchain#114 refs: actions-rs/toolchain#124
Thanks. I have been looking at the source code on where the add-path is used without any luck. |
Thank you for notification, @bilelmoussaoui! Fix was added and released as a new Can anyone in this thread additionally confirm that it works for them now? |
@svartalf thanks a lot for the quick fix, can confirm it works fine now 👍 |
I don't think that actions-rs/toolchain#124 is 100% fixed, but this should fix our CI in the meantime.
Uh oh!
There was an error while loading. Please reload this page.
Do the checklist before filing an issue:
actions-rs
Actions?If you think it's a problem related to Github Actions in general, use GitHub Community forum instead: https://github.saobby.my.eu.orgmunity
Description
A clear and concise description of what the bug is.
See https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
and #114 for a PR that fixes the issue
Workflow code
Action output
Expected behavior
The
$PATH
to be properly setAdditional context
This will causes a lot of breakages out there I guess :P
The text was updated successfully, but these errors were encountered: