📦 step name added

This commit is contained in:
ful1e5 2021-02-03 18:31:56 +05:30
parent 54fb0bc473
commit 561fe8283f

View file

@ -24,14 +24,15 @@ jobs:
- name: Install build dependencies (apt) - name: Install build dependencies (apt)
run: | run: |
sudo apt install -y libx11-dev libxcursor-dev libpng-dev sudo apt install -y libx11-dev libxcursor-dev libpng-dev
continue-on-error: false continue-on-error: false
- name: Get yarn cache directory path - name: Get yarn cache directory path
id: yarn-cache-dir-path id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)" run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2 - name: Caching yarn packages
uses: actions/cache@v2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with: with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
@ -48,7 +49,8 @@ jobs:
id: pip-cache-dir-path id: pip-cache-dir-path
run: echo "::set-output name=dir::$(pip cache dir)" run: echo "::set-output name=dir::$(pip cache dir)"
- uses: actions/cache@v2 - name: Caching pip packages
uses: actions/cache@v2
id: pip-cache # use this to check for `cache-hit` (`steps.pip-cache.outputs.cache-hit != 'true'`) id: pip-cache # use this to check for `cache-hit` (`steps.pip-cache.outputs.cache-hit != 'true'`)
with: with:
path: ${{ steps.pip-cache-dir-path.outputs.dir }} path: ${{ steps.pip-cache-dir-path.outputs.dir }}