Update action as v3 is deprecated
This commit is contained in:
parent
dc3b3387ed
commit
f9671d40c7
|
|
@ -22,7 +22,7 @@ jobs:
|
||||||
|
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
- name: Checkout ${{ github.event.pull_request.head.ref }}
|
- name: Checkout ${{ github.event.pull_request.head.ref }}
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
if: ${{ github.event.pull_request }}
|
if: ${{ github.event.pull_request }}
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
|
|
@ -30,7 +30,7 @@ jobs:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Checkout ${{ github.event.ref }}
|
- name: Checkout ${{ github.event.ref }}
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
if: ${{ !github.event.pull_request }}
|
if: ${{ !github.event.pull_request }}
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.ref }}
|
ref: ${{ github.event.ref }}
|
||||||
|
|
@ -38,7 +38,7 @@ jobs:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Cache Dependencies
|
- name: Cache Dependencies
|
||||||
uses: actions/cache@v3.0.11
|
uses: actions/cache@v4.0.0
|
||||||
id: cache-pkgs
|
id: cache-pkgs
|
||||||
with:
|
with:
|
||||||
path: ".dependencies"
|
path: ".dependencies"
|
||||||
|
|
@ -76,7 +76,7 @@ jobs:
|
||||||
|
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
- name: Checkout ${{ github.event.pull_request.head.ref }}
|
- name: Checkout ${{ github.event.pull_request.head.ref }}
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
if: ${{ github.event.pull_request }}
|
if: ${{ github.event.pull_request }}
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
|
|
@ -84,7 +84,7 @@ jobs:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Checkout ${{ github.event.ref }}
|
- name: Checkout ${{ github.event.ref }}
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
if: ${{ !github.event.pull_request }}
|
if: ${{ !github.event.pull_request }}
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.ref }}
|
ref: ${{ github.event.ref }}
|
||||||
|
|
@ -92,7 +92,7 @@ jobs:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Cache Dependencies
|
- name: Cache Dependencies
|
||||||
uses: actions/cache@v3.0.11
|
uses: actions/cache@v4.0.0
|
||||||
id: cache-pkgs
|
id: cache-pkgs
|
||||||
with:
|
with:
|
||||||
path: ".dependencies"
|
path: ".dependencies"
|
||||||
|
|
@ -123,7 +123,7 @@ jobs:
|
||||||
|
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
- name: Checkout ${{ github.event.pull_request.head.ref }}
|
- name: Checkout ${{ github.event.pull_request.head.ref }}
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
if: ${{ github.event.pull_request }}
|
if: ${{ github.event.pull_request }}
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
|
|
@ -131,7 +131,7 @@ jobs:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Checkout ${{ github.event.ref }}
|
- name: Checkout ${{ github.event.ref }}
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
if: ${{ !github.event.pull_request }}
|
if: ${{ !github.event.pull_request }}
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.ref }}
|
ref: ${{ github.event.ref }}
|
||||||
|
|
@ -139,7 +139,7 @@ jobs:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Cache Dependencies
|
- name: Cache Dependencies
|
||||||
uses: actions/cache@v3.0.11
|
uses: actions/cache@v4.0.0
|
||||||
id: cache-pkgs
|
id: cache-pkgs
|
||||||
with:
|
with:
|
||||||
path: ".dependencies"
|
path: ".dependencies"
|
||||||
|
|
|
||||||
|
|
@ -22,10 +22,10 @@ jobs:
|
||||||
|
|
||||||
# build the base branch
|
# build the base branch
|
||||||
- name: Checkout base
|
- name: Checkout base
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Cache Dependencies
|
- name: Cache Dependencies
|
||||||
uses: actions/cache@v3.0.11
|
uses: actions/cache@v4.0.0
|
||||||
id: cache-pkgs
|
id: cache-pkgs
|
||||||
with:
|
with:
|
||||||
path: ".dependencies"
|
path: ".dependencies"
|
||||||
|
|
@ -53,7 +53,7 @@ jobs:
|
||||||
|
|
||||||
# build the PR branch
|
# build the PR branch
|
||||||
- name: Checkout PR
|
- name: Checkout PR
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
clean: false
|
clean: false
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue