Skip to content

Commit

Permalink
Merge pull request prusa3d#4594 from 3d-gussner/MK3_Action_fix
Browse files Browse the repository at this point in the history
Update action as v3 is deprecated
  • Loading branch information
3d-gussner authored Feb 13, 2024
2 parents dc3b338 + f9671d4 commit f80fb4c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,23 @@ 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 }}
submodules: true
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 }}
submodules: true
fetch-depth: 0

- name: Cache Dependencies
uses: actions/cache@v3.0.11
uses: actions/cache@v4.0.0
id: cache-pkgs
with:
path: ".dependencies"
Expand Down Expand Up @@ -76,23 +76,23 @@ 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 }}
submodules: true
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 }}
submodules: true
fetch-depth: 0

- name: Cache Dependencies
uses: actions/cache@v3.0.11
uses: actions/cache@v4.0.0
id: cache-pkgs
with:
path: ".dependencies"
Expand Down Expand Up @@ -123,23 +123,23 @@ 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 }}
submodules: true
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 }}
submodules: true
fetch-depth: 0

- name: Cache Dependencies
uses: actions/cache@v3.0.11
uses: actions/cache@v4.0.0
id: cache-pkgs
with:
path: ".dependencies"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit f80fb4c

Please sign in to comment.