Skip to content

Commit 58e31be

Browse files
Merge pull request #210 from technote-space/chore/chore-sync-workflows
chore: sync workflows
2 parents 0d083f4 + 5715caf commit 58e31be

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
run: echo "::set-output name=dir::$(yarn cache dir)"
3434
if: env.RUNNING
3535
- name: Cache node dependencies
36-
uses: actions/cache@v1
36+
uses: actions/cache@v2
3737
with:
3838
path: ${{ steps.yarn-cache.outputs.dir }}
3939
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
@@ -93,7 +93,7 @@ jobs:
9393
run: echo "::set-output name=dir::$(yarn cache dir)"
9494
if: env.RUNNING
9595
- name: Cache node dependencies
96-
uses: actions/cache@v1
96+
uses: actions/cache@v2
9797
with:
9898
path: ${{ steps.yarn-cache.outputs.dir }}
9999
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
@@ -128,7 +128,7 @@ jobs:
128128
id: yarn-cache
129129
run: echo "::set-output name=dir::$(yarn cache dir)"
130130
- name: Cache node dependencies
131-
uses: actions/cache@v1
131+
uses: actions/cache@v2
132132
with:
133133
path: ${{ steps.yarn-cache.outputs.dir }}
134134
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
@@ -195,7 +195,7 @@ jobs:
195195
run: echo "::set-output name=dir::$(yarn cache dir)"
196196
if: env.RUNNING
197197
- name: Cache node dependencies
198-
uses: actions/cache@v1
198+
uses: actions/cache@v2
199199
with:
200200
path: ${{ steps.yarn-cache.outputs.dir }}
201201
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
@@ -245,12 +245,11 @@ jobs:
245245
DRAFT: false
246246
NAME: ${{ env.TAG_NAME }}
247247
TAG: ${{ env.TAG_NAME }}
248-
- uses: 8398a7/action-slack@v2
248+
- uses: 8398a7/action-slack@v3
249249
with:
250250
status: ${{ job.status }}
251251
text: ${{ format('<{0}>', steps.drafter.outputs.html_url) }}
252252
env:
253-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
254253
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
255254
if: success() && env.SLACK_WEBHOOK_URL
256255

@@ -262,10 +261,9 @@ jobs:
262261
if: always()
263262
steps:
264263
- uses: technote-space/workflow-conclusion-action@v1
265-
- uses: 8398a7/action-slack@v2
264+
- uses: 8398a7/action-slack@v3
266265
with:
267266
status: failure
268267
env:
269-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
270268
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
271269
if: env.WORKFLOW_CONCLUSION == 'failure' && env.SLACK_WEBHOOK_URL

0 commit comments

Comments
 (0)