Update the GitHub actions to V4

Because the V3 versions no longer work.
This commit is contained in:
Robbert van der Helm
2025-03-02 11:05:05 +01:00
parent 7e89994123
commit e8119e82f2
2 changed files with 8 additions and 8 deletions

View File

@@ -15,7 +15,7 @@ jobs:
name: Generate and upload docs
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# Needed for git-describe to do anything useful
- name: Fetch all git history
run: git fetch --force --prune --tags --unshallow
@@ -25,7 +25,7 @@ jobs:
sudo apt-get update
sudo apt-get install -y libasound2-dev libgl-dev libjack-dev libx11-xcb-dev libxcb1-dev libxcb-dri2-0-dev libxcb-icccm4-dev libxcursor-dev libxkbcommon-dev libxcb-shape0-dev libxcb-xfixes0-dev
- uses: actions/cache@v3
- uses: actions/cache@v4
# FIXME: Caching `target/` causes the Windows runner to blow up after some time
if: startsWith(matrix.os, 'windows')
with:
@@ -34,7 +34,7 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
key: ${{ matrix.name }}-${{ matrix.cross-target }}
- uses: actions/cache@v3
- uses: actions/cache@v4
if: "!startsWith(matrix.os, 'windows')"
with:
path: |

View File

@@ -19,7 +19,7 @@ jobs:
name: Build and test all components
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# Needed for git-describe to do anything useful
- name: Fetch all git history
run: git fetch --force --prune --tags --unshallow
@@ -30,7 +30,7 @@ jobs:
sudo apt-get update
sudo apt-get install -y libasound2-dev libgl-dev libjack-dev libx11-xcb-dev libxcb1-dev libxcb-dri2-0-dev libxcb-icccm4-dev libxcursor-dev libxkbcommon-dev libxcb-shape0-dev libxcb-xfixes0-dev
- uses: actions/cache@v3
- uses: actions/cache@v4
# FIXME: Caching `target/` causes the Windows runner to blow up after some time
if: startsWith(matrix.os, 'windows')
with:
@@ -39,7 +39,7 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
key: ${{ matrix.name }}-${{ matrix.cross-target }}
- uses: actions/cache@v3
- uses: actions/cache@v4
if: "!startsWith(matrix.os, 'windows')"
with:
path: |
@@ -63,7 +63,7 @@ jobs:
name: Build NIH-plug without VST3 support
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Fetch all git history
run: git fetch --force --prune --tags --unshallow
@@ -72,7 +72,7 @@ jobs:
sudo apt-get update
sudo apt-get install -y libasound2-dev libgl-dev libjack-dev libx11-xcb-dev libxcb1-dev libxcb-dri2-0-dev libxcb-icccm4-dev libxcursor-dev libxkbcommon-dev libxcb-shape0-dev libxcb-xfixes0-dev
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
~/.cargo/registry/index/