Update action as v3 is deprecated

This commit is contained in:
3d-gussner 2024-02-13 08:32:54 +01:00
parent dc3b3387ed
commit f9671d40c7
2 changed files with 12 additions and 12 deletions

View File

@ -22,7 +22,7 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout ${{ github.event.pull_request.head.ref }}
uses: actions/checkout@v3
uses: actions/checkout@v4
if: ${{ github.event.pull_request }}
with:
ref: ${{ github.event.pull_request.head.sha }}
@ -30,7 +30,7 @@ jobs:
fetch-depth: 0
- name: Checkout ${{ github.event.ref }}
uses: actions/checkout@v3
uses: actions/checkout@v4
if: ${{ !github.event.pull_request }}
with:
ref: ${{ github.event.ref }}
@ -38,7 +38,7 @@ jobs:
fetch-depth: 0
- name: Cache Dependencies
uses: actions/cache@v3.0.11
uses: actions/cache@v4.0.0
id: cache-pkgs
with:
path: ".dependencies"
@ -76,7 +76,7 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout ${{ github.event.pull_request.head.ref }}
uses: actions/checkout@v3
uses: actions/checkout@v4
if: ${{ github.event.pull_request }}
with:
ref: ${{ github.event.pull_request.head.sha }}
@ -84,7 +84,7 @@ jobs:
fetch-depth: 0
- name: Checkout ${{ github.event.ref }}
uses: actions/checkout@v3
uses: actions/checkout@v4
if: ${{ !github.event.pull_request }}
with:
ref: ${{ github.event.ref }}
@ -92,7 +92,7 @@ jobs:
fetch-depth: 0
- name: Cache Dependencies
uses: actions/cache@v3.0.11
uses: actions/cache@v4.0.0
id: cache-pkgs
with:
path: ".dependencies"
@ -123,7 +123,7 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout ${{ github.event.pull_request.head.ref }}
uses: actions/checkout@v3
uses: actions/checkout@v4
if: ${{ github.event.pull_request }}
with:
ref: ${{ github.event.pull_request.head.sha }}
@ -131,7 +131,7 @@ jobs:
fetch-depth: 0
- name: Checkout ${{ github.event.ref }}
uses: actions/checkout@v3
uses: actions/checkout@v4
if: ${{ !github.event.pull_request }}
with:
ref: ${{ github.event.ref }}
@ -139,7 +139,7 @@ jobs:
fetch-depth: 0
- name: Cache Dependencies
uses: actions/cache@v3.0.11
uses: actions/cache@v4.0.0
id: cache-pkgs
with:
path: ".dependencies"

View File

@ -22,10 +22,10 @@ jobs:
# build the base branch
- name: Checkout base
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Cache Dependencies
uses: actions/cache@v3.0.11
uses: actions/cache@v4.0.0
id: cache-pkgs
with:
path: ".dependencies"
@ -53,7 +53,7 @@ jobs:
# build the PR branch
- name: Checkout PR
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
clean: false
ref: ${{ github.event.pull_request.head.sha }}