Skip to content

Commit

Permalink
Fix warnings in the Github Actions workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
Doom2fan committed May 24, 2024
1 parent d3a1253 commit e66f4b2
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 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,11 @@ 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,10 +55,11 @@ 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 }}
overwrite: true

build-mac:
name: mac
Expand All @@ -68,10 +70,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 @@ -91,10 +93,11 @@ 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 }}
overwrite: true

publish:
name: Publish plugin
Expand All @@ -104,7 +107,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 @@ -122,7 +125,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 Down

0 comments on commit e66f4b2

Please sign in to comment.