Github action have deprecated ::add-path:: command

This commit is contained in:
zonyitoo
2020-10-12 10:49:36 +08:00
parent 0d675b36e6
commit 20ee780509
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -53,7 +53,8 @@ jobs:
- name: Install GNU tar
run: |
brew install gnu-tar
echo "::add-path::/usr/local/opt/gnu-tar/libexec/gnubin"
# echo "::add-path::/usr/local/opt/gnu-tar/libexec/gnubin"
echo "/usr/local/opt/gnu-tar/libexec/gnubin" >> $GITHUB_PATH
- uses: actions/cache@v2
with:
path: |
+2 -1
View File
@@ -59,7 +59,8 @@ jobs:
if: runner.os == 'macOS'
run: |
brew install gnu-tar
echo "::add-path::/usr/local/opt/gnu-tar/libexec/gnubin"
# echo "::add-path::/usr/local/opt/gnu-tar/libexec/gnubin"
echo "/usr/local/opt/gnu-tar/libexec/gnubin" >> $GITHUB_PATH
- name: Build release
shell: bash