1
0
Fork 0

Update actions to Node 16 versions

This commit is contained in:
Robbert van der Helm 2023-01-25 17:29:50 +01:00
parent 888b508485
commit 8a62c54307
3 changed files with 10 additions and 10 deletions

View file

@ -27,7 +27,7 @@ jobs:
name: Package plugin binaries name: Package plugin binaries
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Fetch all git history - name: Fetch all git history
run: git fetch --force --prune --tags --unshallow run: git fetch --force --prune --tags --unshallow
@ -37,7 +37,7 @@ jobs:
sudo apt-get update sudo apt-get update
sudo apt-get install -y libasound2-dev libgl-dev libjack-dev libxcb1-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 libxcb1-dev libxcb-icccm4-dev libxcursor-dev libxkbcommon-dev libxcb-shape0-dev libxcb-xfixes0-dev
- uses: actions/cache@v2 - uses: actions/cache@v3
# 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:
@ -46,7 +46,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@v2 - uses: actions/cache@v3
if: "!startsWith(matrix.os, 'windows')" if: "!startsWith(matrix.os, 'windows')"
with: with:
path: | path: |
@ -96,7 +96,7 @@ jobs:
mv target/bundled/* "$ARCHIVE_NAME/$ARCHIVE_NAME" mv target/bundled/* "$ARCHIVE_NAME/$ARCHIVE_NAME"
- name: Add an OS-specific readme file with installation instructions - name: Add an OS-specific readme file with installation instructions
run: cp ".github/workflows/readme-${{ runner.os }}.txt" "$ARCHIVE_NAME/$ARCHIVE_NAME/README.txt" run: cp ".github/workflows/readme-${{ runner.os }}.txt" "$ARCHIVE_NAME/$ARCHIVE_NAME/README.txt"
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v3
with: with:
name: ${{ env.ARCHIVE_NAME }} name: ${{ env.ARCHIVE_NAME }}
path: ${{ env.ARCHIVE_NAME }} path: ${{ env.ARCHIVE_NAME }}

View file

@ -15,7 +15,7 @@ jobs:
name: Build and test all components name: Build and test all components
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
# 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 libxcb1-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 libxcb1-dev libxcb-icccm4-dev libxcursor-dev libxkbcommon-dev libxcb-shape0-dev libxcb-xfixes0-dev
- uses: actions/cache@v2 - uses: actions/cache@v3
# 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@v2 - uses: actions/cache@v3
if: "!startsWith(matrix.os, 'windows')" if: "!startsWith(matrix.os, 'windows')"
with: with:
path: | path: |

View file

@ -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@v2 - uses: actions/checkout@v3
# 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 libxcb1-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 libxcb1-dev libxcb-icccm4-dev libxcursor-dev libxkbcommon-dev libxcb-shape0-dev libxcb-xfixes0-dev
- uses: actions/cache@v2 - uses: actions/cache@v3
# 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@v2 - uses: actions/cache@v3
if: "!startsWith(matrix.os, 'windows')" if: "!startsWith(matrix.os, 'windows')"
with: with:
path: | path: |