Skip to content

Commit

Permalink
Fix CI error due to use of ::add-path:: (#1460)
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl authored Nov 16, 2020
1 parent 2ff7b54 commit 98ce8f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
runs-on: macos-latest
if: github.ref == 'refs/heads/master' || github.base_ref == 'master'
steps:
- run: echo ::add-path::$HOME/.local/bin
- run: echo ::add-path::$HOME/Library/Python/3.7/bin
- uses: actions/checkout@v1
- run: echo "$HOME/.local/bin" >> $GITHUB_PATH
- run: echo "$HOME/Library/Python/3.7/bin" >> $GITHUB_PATH
- run: python3 tests/server.py --version
- run: python3 tests/adjust_unittesting_config_for_ci.py && cat unittesting.json
- run: curl --silent https://raw.githubusercontent.com/SublimeText/UnitTesting/master/sbin/ci.sh --output ci.sh
Expand All @@ -44,11 +44,11 @@ jobs:
container: sublimetext/unittesting
steps:
- uses: actions/checkout@v1
- run: echo ::add-path::$HOME/.local/bin
- run: sudo apt update
- run: sudo apt install --no-install-recommends -y x11-xserver-utils python3-pip
- run: sh -e /etc/init.d/xvfb start
- run: curl -OL https://raw.githubusercontent.com/SublimeText/UnitTesting/master/sbin/github.sh
- run: echo "$HOME/.local/bin" >> $GITHUB_PATH
- run: python3 tests/server.py --version
- run: python3 tests/adjust_unittesting_config_for_ci.py && cat unittesting.json
- run: |
Expand All @@ -68,9 +68,9 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: '3.8'
- run: echo ::add-path::$HOME/.local/bin
- run: sudo apt update
- run: sudo apt install --no-install-recommends -y x11-xserver-utils
- run: pip3 install mypy==0.790 flake8==3.8.3 yapf==0.30.0 --user
- run: echo "$HOME/.local/bin" >> $GITHUB_PATH
- run: mypy -p plugin
- run: flake8 plugin tests

0 comments on commit 98ce8f6

Please sign in to comment.