Skip to content

Commit

Permalink
Use separate steps for env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwellmattryan committed Nov 14, 2024
1 parent 9967e8e commit 0dfc61f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,12 @@ jobs:
working-directory: ${{ runner.workspace }}/rotor
run: cmake --build bin --config ${{ inputs.build_type }} --target ${{ env.PLUGIN_NAME }}_All --parallel 8

- name: Set Environment Variables
- name: Set Environment Variables (1/2)
run: |
echo "ARTIFACTS_PATH=bin/${{ env.PLUGIN_NAME }}_artefacts/${{ inputs.build_type }}" >> $GITHUB_ENV
- name: Set Environment Variables (2/2)
run: |
echo "VST3_PATH=${{ env.ARTIFACTS_PATH }}/VST3/${{ env.PLUGIN_NAME }}.vst3" >> $GITHUB_ENV
echo "AU_PATH=${{ env.ARTIFACTS_PATH }}/AU/${{ env.PLUGIN_NAME }}.component" >> $GITHUB_ENV
echo "ARTIFACT_NAME=${{ env.PLUGIN_NAME }}-${{ runner.os }}" >> $GITHUB_ENV
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
include:
- name: macOS
os: macos-13
# - name: Windows
# os: windows-2022
- name: Windows
os: windows-2022
with:
os: ${{ matrix.os }}
build_type: Release
Expand Down

0 comments on commit 0dfc61f

Please sign in to comment.