The `set-env` command is deprecated and will be disabled on November 16th
See original GitHub issueDescription
index.js uses set-env and add-path. Both will be disabled soon. As a result I’m seeing these warnings in my log:
The `set-env` command is deprecated and will be disabled on November 16th. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
The `add-path` command is deprecated and will be disabled on November 16th. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
Details
YAML
name: Build on push
on:
push:
branches: [master]
jobs:
Box:
runs-on: <runner name>
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.100'
- uses: nuget/setup-nuget@v1
with:
nuget-version: 'latest'
- name: <build name>
run: |
cd <Project name>
nuget restore <Solution name>.sln
msbuild <Solution name>.sln /verbosity:normal /t:Rebuild /p:Configuration=Debug
dotnet test <Solution name>.sln
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:5
Top Results From Across the Web
The `set-env` command is deprecated and will be disabled on ...
The `set-env ` command is deprecated and will be disabled on November 16th. Please upgrade to using Environment Files.
Read more >Github Actions set-env deprecation | [“Kirø~$”]
We get the following deprecation message in our github actions workflow. The `set-env` command is deprecated and will be disabled on November 16th....
Read more >How do I set an env var with a bash expression in GitHub ...
Due to a security vulnerability set-env is being deprecated and should no longer be used. This is the new way to set environment...
Read more >NixOS 23.05 manual
extraConfig will be deprecated when NixOS 22.11 reaches end of life. To reduce closure size in nixos/modules/profiles/minimal.nix profile disabled ...
Read more >Changelog - curl
docs: remove mentions of deprecated '--without-openssl' parameter; docs: tag curl options better in man pages; docs: tell about disabled protocols in CURLOPT_* ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
set-env
is now disabled, and I am seeing Errors now usingEdit: Okay, Nevermind this task is working! There are just many other things hitting this same error 😉
According to the releases/tags for this repo, V1 should have been updated already?