Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

avoid deprecated add-path in GHA workflow

Christopher Hillerf24f190f5f4b
diff --git a/.github/workflows/mocha.yml b/.github/workflows/mocha.yml
index fdaf7272..94a45735 100644
--- a/.github/workflows/mocha.yml
+++ b/.github/workflows/mocha.yml
@@ -150,7 +150,7 @@ jobs:
${{ runner.os }}-growl-installer
- name: Add Growl Installer to Path (Windows)
if: "${{ matrix.os == 'windows-2019' }}"
- run: 'echo "::add-path::C:\Program Files (x86)\Growl for Windows"'
+ run: 'echo "C:\Program Files (x86)\Growl for Windows" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8'
- name: Install Growl
if: "${{ matrix.os == 'windows-2019' }}"
run: |