From 8e13eeb67caffedb6164551a7a625903c1290070 Mon Sep 17 00:00:00 2001 From: technote-space Date: Thu, 29 Oct 2020 12:26:35 +0000 Subject: [PATCH] chore: sync workflows --- .github/workflows/ci.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a00c225..97b95ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: run: echo "::set-output name=dir::$(yarn cache dir)" if: env.RUNNING - name: Cache node dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.yarn-cache.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -95,7 +95,7 @@ jobs: run: echo "::set-output name=dir::$(yarn cache dir)" if: env.RUNNING - name: Cache node dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.yarn-cache.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -170,7 +170,7 @@ jobs: run: echo "::set-output name=dir::$(yarn cache dir)" if: env.RUNNING - name: Cache node dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.yarn-cache.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -216,7 +216,7 @@ jobs: id: yarn-cache run: echo "::set-output name=dir::$(yarn cache dir)" - name: Cache node dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.yarn-cache.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -252,7 +252,7 @@ jobs: id: yarn-cache run: echo "::set-output name=dir::$(yarn cache dir)" - name: Cache node dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.yarn-cache.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -287,12 +287,11 @@ jobs: DRAFT: false NAME: ${{ env.TAG_NAME }} TAG: ${{ env.TAG_NAME }} - - uses: 8398a7/action-slack@v2 + - uses: 8398a7/action-slack@v3 with: status: ${{ job.status }} text: ${{ format('<{0}>', steps.drafter.outputs.html_url) }} env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} if: success() && env.SLACK_WEBHOOK_URL @@ -304,10 +303,9 @@ jobs: if: always() steps: - uses: technote-space/workflow-conclusion-action@v1 - - uses: 8398a7/action-slack@v2 + - uses: 8398a7/action-slack@v3 with: status: failure env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} if: env.WORKFLOW_CONCLUSION == 'failure' && env.SLACK_WEBHOOK_URL