forked from LBRYCommunity/lbry-sdk
Try shell: bash to simplify.
This commit is contained in:
parent
d284acd8b8
commit
c118174c1a
1 changed files with 4 additions and 6 deletions
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
|
@ -35,10 +35,9 @@ jobs:
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.7'
|
python-version: '3.7'
|
||||||
- if: (!startsWith(runner.os, 'windows'))
|
- name: set pip cache dir
|
||||||
|
shell: bash
|
||||||
run: echo "PIP_CACHE_DIR=$(pip cache dir)" >> $GITHUB_ENV
|
run: echo "PIP_CACHE_DIR=$(pip cache dir)" >> $GITHUB_ENV
|
||||||
- if: startsWith(runner.os, 'windows')
|
|
||||||
run: echo "PIP_CACHE_DIR=$(pip cache dir)" >> $env:GITHUB_ENV
|
|
||||||
- name: extract pip cache
|
- name: extract pip cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
|
@ -152,10 +151,9 @@ jobs:
|
||||||
uses: ASzc/change-string-case-action@v5
|
uses: ASzc/change-string-case-action@v5
|
||||||
with:
|
with:
|
||||||
string: ${{ runner.os }}
|
string: ${{ runner.os }}
|
||||||
- if: (!startsWith(runner.os, 'windows'))
|
- name: set pip cache dir
|
||||||
|
shell: bash
|
||||||
run: echo "PIP_CACHE_DIR=$(pip cache dir)" >> $GITHUB_ENV
|
run: echo "PIP_CACHE_DIR=$(pip cache dir)" >> $GITHUB_ENV
|
||||||
- if: startsWith(runner.os, 'windows')
|
|
||||||
run: echo "PIP_CACHE_DIR=$(pip cache dir)" >> $env:GITHUB_ENV
|
|
||||||
- name: extract pip cache
|
- name: extract pip cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue