chore(🤖): upgrade github actions (#34599)

This commit is contained in:
afc163 2022-03-19 21:53:48 +08:00 committed by GitHub
parent 7f487369d3
commit 07b8fb12a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 31 additions and 31 deletions

View File

@ -11,7 +11,7 @@ jobs:
CI_JOB_NUMBER: 1
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: preactjs/compressed-size-action@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

View File

@ -8,7 +8,7 @@ jobs:
issue-open-check:
runs-on: ubuntu-latest
steps:
- uses: actions-cool/check-user-permission@v1
- uses: actions-cool/check-user-permission@v2
id: checkUser
with:
require: 'write'

View File

@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: analysis
uses: actions-cool/issues-similarity-analysis@v1.0.0
uses: actions-cool/issues-similarity-analysis@v1.1.0
with:
filter-threshold: 0.5
title-excludes: ''

View File

@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: cache package-lock.json
uses: actions/cache@v2
@ -47,7 +47,7 @@ jobs:
needs: setup
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: restore cache from package-lock.json
uses: actions/cache@v2
@ -68,7 +68,7 @@ jobs:
SITE_ENV: development
- name: upload site artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: site
path: _site/
@ -81,7 +81,7 @@ jobs:
- name: Upload PR number
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: pr
path: ./pr-id.txt

View File

@ -10,7 +10,7 @@ jobs:
if: github.event.issue.pull_request != '' && (contains(github.event.comment.body, '/rebase') || contains(github.event.comment.body, '\rebase'))
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Automatic Rebase

View File

@ -10,7 +10,7 @@ jobs:
if: github.event.ref_type == 'tag' && (contains(github.event.ref, '-') == false)
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: cache package-lock.json
uses: actions/cache@v2
@ -43,7 +43,7 @@ jobs:
needs: setup
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: restore cache from package-lock.json
uses: actions/cache@v2

View File

@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: cache package-lock.json
uses: actions/cache@v2
@ -41,7 +41,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: restore cache from package-lock.json
uses: actions/cache@v2
@ -78,7 +78,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: restore cache from package-lock.json
uses: actions/cache@v2
@ -100,7 +100,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: restore cache from package-lock.json
uses: actions/cache@v2
@ -122,7 +122,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: restore cache from package-lock.json
uses: actions/cache@v2
@ -145,7 +145,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: restore cache from package-lock.json
uses: actions/cache@v2
@ -171,7 +171,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: restore cache from package-lock.json
uses: actions/cache@v2
@ -194,7 +194,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: restore cache from package-lock.json
uses: actions/cache@v2
@ -225,7 +225,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: restore cache from package-lock.json
uses: actions/cache@v2
@ -256,7 +256,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: restore cache from package-lock.json
uses: actions/cache@v2
@ -296,7 +296,7 @@ jobs:
REACT: 16
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: restore cache from package-lock.json
uses: actions/cache@v2
@ -324,7 +324,7 @@ jobs:
REACT: 16
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: restore cache from package-lock.json
uses: actions/cache@v2
@ -352,7 +352,7 @@ jobs:
REACT: 16
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: restore cache from package-lock.json
uses: actions/cache@v2
@ -388,7 +388,7 @@ jobs:
REACT: 16
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: restore cache from package-lock.json
uses: actions/cache@v2
@ -424,7 +424,7 @@ jobs:
REACT: 16
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: restore cache from package-lock.json
uses: actions/cache@v2
@ -460,7 +460,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: restore cache from package-lock.json
uses: actions/cache@v2

View File

@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: cache package-lock.json
uses: actions/cache@v2
@ -44,7 +44,7 @@ jobs:
run: npm run test-image
- name: upload snapshots artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: snapshots
path: imageSnapshots/
@ -60,7 +60,7 @@ jobs:
- name: Upload commit
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: commit
path: ./commit.txt
@ -75,7 +75,7 @@ jobs:
- name: Upload branch
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: branch
path: ./branch.txt

View File

@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
if: contains(github.event.pull_request.title, 'changelog') || contains(github.event.pull_request.title, 'release')
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: verify-version
uses: actions-cool/verify-package-version@v1
with: