mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Update the GitHub actions to V4
Because the V3 versions no longer work.
This commit is contained in:
6
.github/workflows/docs.yml
vendored
6
.github/workflows/docs.yml
vendored
@@ -15,7 +15,7 @@ jobs:
|
|||||||
name: Generate and upload docs
|
name: Generate and upload docs
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
# Needed for git-describe to do anything useful
|
# Needed for git-describe to do anything useful
|
||||||
- name: Fetch all git history
|
- name: Fetch all git history
|
||||||
run: git fetch --force --prune --tags --unshallow
|
run: git fetch --force --prune --tags --unshallow
|
||||||
@@ -25,7 +25,7 @@ jobs:
|
|||||||
sudo apt-get update
|
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
|
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
|
# FIXME: Caching `target/` causes the Windows runner to blow up after some time
|
||||||
if: startsWith(matrix.os, 'windows')
|
if: startsWith(matrix.os, 'windows')
|
||||||
with:
|
with:
|
||||||
@@ -34,7 +34,7 @@ jobs:
|
|||||||
~/.cargo/registry/cache/
|
~/.cargo/registry/cache/
|
||||||
~/.cargo/git/db/
|
~/.cargo/git/db/
|
||||||
key: ${{ matrix.name }}-${{ matrix.cross-target }}
|
key: ${{ matrix.name }}-${{ matrix.cross-target }}
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v4
|
||||||
if: "!startsWith(matrix.os, 'windows')"
|
if: "!startsWith(matrix.os, 'windows')"
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
|
|||||||
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
name: Build and test all components
|
name: Build and test all components
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
# Needed for git-describe to do anything useful
|
# Needed for git-describe to do anything useful
|
||||||
- name: Fetch all git history
|
- name: Fetch all git history
|
||||||
run: git fetch --force --prune --tags --unshallow
|
run: git fetch --force --prune --tags --unshallow
|
||||||
@@ -30,7 +30,7 @@ jobs:
|
|||||||
sudo apt-get update
|
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
|
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
|
# FIXME: Caching `target/` causes the Windows runner to blow up after some time
|
||||||
if: startsWith(matrix.os, 'windows')
|
if: startsWith(matrix.os, 'windows')
|
||||||
with:
|
with:
|
||||||
@@ -39,7 +39,7 @@ jobs:
|
|||||||
~/.cargo/registry/cache/
|
~/.cargo/registry/cache/
|
||||||
~/.cargo/git/db/
|
~/.cargo/git/db/
|
||||||
key: ${{ matrix.name }}-${{ matrix.cross-target }}
|
key: ${{ matrix.name }}-${{ matrix.cross-target }}
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v4
|
||||||
if: "!startsWith(matrix.os, 'windows')"
|
if: "!startsWith(matrix.os, 'windows')"
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
@@ -63,7 +63,7 @@ jobs:
|
|||||||
name: Build NIH-plug without VST3 support
|
name: Build NIH-plug without VST3 support
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Fetch all git history
|
- name: Fetch all git history
|
||||||
run: git fetch --force --prune --tags --unshallow
|
run: git fetch --force --prune --tags --unshallow
|
||||||
|
|
||||||
@@ -72,7 +72,7 @@ jobs:
|
|||||||
sudo apt-get update
|
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
|
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:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cargo/registry/index/
|
~/.cargo/registry/index/
|
||||||
|
|||||||
Reference in New Issue
Block a user