diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b15e8c0dc..12f69bee6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,8 +4,8 @@ on: push: branches: - master - paths: - - icons/** + # paths: + # - icons/** jobs: create-release: @@ -14,12 +14,18 @@ jobs: runs-on: ubuntu-latest steps: + - name: Checkout code - uses: actions/checkout@v2 + - name: Get yarn cache directory path + id: yarn_cache + run: echo "::set-output name=YARN_CACHE_DIR::$(yarn cache dir)" + + - name: Get cached packaged - uses: actions/cache@v2 id: yarn-cache with: - path: ${{ needs.pre-build.outputs.YARN_CACHE_DIR }} + path: ${{ steps.yarn_cache.outputs.YARN_CACHE_DIR }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} restore-keys: | ${{ runner.os }}-yarn-