Skip to content

Commit

Permalink
Moving away from deprecated GHA add-path (pulumi#834)
Browse files Browse the repository at this point in the history
  • Loading branch information
stack72 committed Nov 16, 2020
1 parent 22948b8 commit 7d55be9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
- if: matrix.examples-test-matrix == '--no-latest-packages'
name: Set Pulumi to PATH
run: |
echo "::add-path::$HOME/.pulumi/bin"
echo "$HOME/.pulumi/bin" >> $GITHUB_PATH
- name: Install Go dependencies
run: make ensure
- name: Run ${{ matrix.clouds }}${{ matrix.languages }} Tests
Expand Down Expand Up @@ -146,8 +146,8 @@ jobs:
run: curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version ${{ matrix.yarn-version }}
- name: Update PATH for Yarn
run: |
echo "::add-path::$HOME/.yarn/bin"
echo "::add-path::$HOME/.config/yarn/global/node_modules/.bin"
echo "$HOME/.yarn/bin" >> $GITHUB_PATH
echo "$HOME/.config/yarn/global/node_modules/.bin" >> $GITHUB_PATH
- name: setup linting tool
run: make install
- name: Lint typescript files
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
run: curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version ${{ matrix.yarn-version }}
- name: Update PATH for Yarn
run: |
echo "::add-path::$HOME/.yarn/bin"
echo "::add-path::$HOME/.config/yarn/global/node_modules/.bin"
echo "$HOME/.yarn/bin" >> $GITHUB_PATH
echo "$HOME/.config/yarn/global/node_modules/.bin" >> $GITHUB_PATH
- name: setup linting tool
run: make install
- name: Lint typescript files
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-tests-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ jobs:
run: curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version ${{ matrix.yarn-version }}
- name: Update PATH for Yarn
run: |
echo "::add-path::$HOME/.yarn/bin"
echo "::add-path::$HOME/.config/yarn/global/node_modules/.bin"
echo "$HOME/.yarn/bin" >> $GITHUB_PATH
echo "$HOME/.config/yarn/global/node_modules/.bin" >> $GITHUB_PATH
- name: setup linting tool
run: make install
- name: Lint typescript files
Expand Down

0 comments on commit 7d55be9

Please sign in to comment.