Skip to content

Commit

Permalink
updated deprecated GitHub actions to Node.js 20
Browse files Browse the repository at this point in the history
  • Loading branch information
stoermelder committed Apr 20, 2024
1 parent 43c6842 commit 6ce39c0
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
name: Modify plugin version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
- uses: actions/checkout@v4
- uses: actions/cache@v4
id: plugin-version-cache
with:
path: plugin.json
Expand All @@ -40,10 +40,10 @@ jobs:
matrix:
platform: [win-x64, lin-x64]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/cache@v3
- uses: actions/cache@v4
id: plugin-version-cache
with:
path: plugin.json
Expand All @@ -54,7 +54,7 @@ jobs:
pushd ${{ env.rack-plugin-toolchain-dir }}
make plugin-build-${{ matrix.platform }}
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: ${{ env.rack-plugin-toolchain-dir }}/plugin-build
name: ${{ matrix.platform }}
Expand All @@ -68,10 +68,10 @@ jobs:
matrix:
platform: [x64, arm64]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/cache@v3
- uses: actions/cache@v4
id: plugin-version-cache
with:
path: plugin.json
Expand All @@ -90,7 +90,7 @@ jobs:
make dep
make dist
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: dist/*.vcvplugin
name: mac-${{ matrix.platform }}
Expand All @@ -103,7 +103,7 @@ jobs:
runs-on: ubuntu-latest
needs: [build, build-mac]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: FranzDiebold/github-env-vars-action@v2
- name: Check if plugin version matches tag
run: |
Expand All @@ -121,7 +121,7 @@ jobs:
${{ env.CI_REPOSITORY_NAME }} VCV Rack Plugin ${{ env.CI_REF_NAME }}
draft: false
prerelease: false
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
path: _artifacts
- name: Upload release assets
Expand All @@ -140,7 +140,7 @@ jobs:
runs-on: ubuntu-latest
needs: [build, build-mac]
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
path: _artifacts
- name: Delete old release assets
Expand Down

0 comments on commit 6ce39c0

Please sign in to comment.