Skip to content

Commit

Permalink
Try artifacts again
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwellmattryan committed Nov 14, 2024
1 parent 357a233 commit 1d78d27
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:

- name: Set Environment Variables
run: |
ARTIFACTS_PATH=bin/Rotor_artefacts/${{ inputs.build_type }}
echo "ARTIFACTS_PATH=bin/Rotor_artefacts/${{ inputs.build_type }}" >> $GITHUB_ENV
echo "VST3_PATH=$ARTIFACTS_PATH/VST3/${{ env.PLUGIN_NAME }}.vst3" >> $GITHUB_ENV
echo "AU_PATH=$ARTIFACTS_PATH/AU/${{ env.PLUGIN_NAME }}.component" >> $GITHUB_ENV
echo "ARTIFACT_NAME=${{ env.PLUGIN_NAME }}-${{ runner.os }}" >> $GITHUB_ENV
Expand All @@ -71,16 +71,16 @@ jobs:
- name: Move Binaries (MacOS)
if: ${{ inputs.upload_artifacts && runner.os == 'macOS' }}
run: |
mkdir -p dist && \
mv ${{ env.VST3_PATH }} dist && \
mkdir -p dist
mv ${{ env.VST3_PATH }} dist
mv ${{ env.AU_PATH }} dist
- name: Upload AU & VST3 (MacOS)
if: ${{ inputs.upload_artifacts && runner.os == 'macOS' }}
uses: actions/upload-artifact@v4
with:
name: ${{ env.ARTIFACT_NAME }}
path: dist/*
path: dist

- name: Pluginval (Windows)
if: ${{ runner.os == 'Windows' }}
Expand Down
16 changes: 9 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,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 All @@ -43,13 +43,15 @@ jobs:
with:
name: ${{ env.PLUGIN_NAME }}-${{ matrix.name }}

- name: Delete Artifacts
uses: geekyeggo/delete-artifact@v5
with:
name: ${{ env.PLUGIN_NAME }}-${{ matrix.name }}
# - name: Delete Artifacts
# uses: geekyeggo/delete-artifact@v5
# with:
# name: ${{ env.PLUGIN_NAME }}-${{ matrix.name }}

- name: Set Environment Variables
run: |
ls
ls ${{ env.PLUGIN_NAME }}-${{ matrix.name }} || echo "No dir"
ARTIFACTS_PATH=${{ env.PLUGIN_NAME }}-${{ matrix.name }}
echo "VST3_PATH=$ARTIFACTS_PATH/${{ env.PLUGIN_NAME }}.vst3" >> $GITHUB_ENV
echo "AU_PATH=$ARTIFACTS_PATH/${{ env.PLUGIN_NAME }}.component" >> $GITHUB_ENV
Expand Down Expand Up @@ -126,6 +128,6 @@ jobs:
- name: Draft Release
uses: softprops/actions-gh-release@v2
with:
prerelease: true
prerelease: false
files: |
*/*.dmg

0 comments on commit 1d78d27

Please sign in to comment.