From f9671d40c7ee4c92761155c96e3c3e1779620ff5 Mon Sep 17 00:00:00 2001 From: 3d-gussner <3d.gussner@gmail.com> Date: Tue, 13 Feb 2024 08:32:54 +0100 Subject: [PATCH] Update action as v3 is deprecated --- .github/workflows/build.yml | 18 +++++++++--------- .github/workflows/pr-size.yml | 6 +++--- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fcc64952bb..fc86a15667 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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" diff --git a/.github/workflows/pr-size.yml b/.github/workflows/pr-size.yml index 891336456d..fcb9e5ea88 100644 --- a/.github/workflows/pr-size.yml +++ b/.github/workflows/pr-size.yml @@ -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 }}