Skip to content

Commit 362de5b

Browse files
committed
use rack-plugin-toolchain-dir env variable
1 parent 0507739 commit 362de5b

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/build-plugin.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Build VCV Rack Plugin
22
on: [push, pull_request]
33

4+
env:
5+
rack-plugin-toolchain-dir: /home/build/rack-plugin-toolchain
6+
47
defaults:
58
run:
69
shell: bash
@@ -30,12 +33,12 @@ jobs:
3033
- name: Build plugin
3134
run: |
3235
export PLUGIN_DIR=$GITHUB_WORKSPACE
33-
pushd /home/build/rack-plugin-toolchain
36+
pushd ${{ env.rack-plugin-toolchain-dir }}
3437
make plugin-build-${{ matrix.platform }}
3538
- name: Upload artifact
3639
uses: actions/upload-artifact@v2
3740
with:
38-
path: /home/build/rack-plugin-toolchain/plugin-build
41+
path: ${{ env.rack-plugin-toolchain-dir }}/plugin-build
3942
name: ${{ matrix.platform }}
4043

4144
publish:

0 commit comments

Comments
 (0)