Browse Source

ci: remove cache

pull/1082/head
vben 5 years ago
parent
commit
8ff5c03d53
  1. 24
      .github/workflows/ftp-schedule.yml

24
.github/workflows/ftp-schedule.yml

@ -26,20 +26,22 @@ jobs:
with:
node-version: '16.x'
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
# - name: Get yarn cache
# id: yarn-cache
# run: echo "::set-output name=dir::$(yarn cache dir)"
# - name: Cache dependencies
# uses: actions/cache@v2
# with:
# path: ${{ steps.yarn-cache.outputs.dir }}
# key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
# restore-keys: |
# ${{ runner.os }}-yarn-
- name: Build
run: |
yarn cache clean
rm -rf ./node_modules yarn.lock
yarn install
yarn run build

Loading…
Cancel
Save