Skip to content

Commit

Permalink
fix(actions): Artifact names now match their file names
Browse files Browse the repository at this point in the history
Signed-off-by: Frederik Bertling <[email protected]>
  • Loading branch information
Burtan committed Apr 28, 2024
1 parent 4b9d66d commit e62140c
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
- run: meson compile livepresets_x86_64 -C builddir/ -v -j 14
- uses: actions/upload-artifact@v4
with:
name: Linux x86_x64
path: builddir/reaper_livepresets_x86_64.so

macos:
Expand All @@ -30,6 +31,7 @@ jobs:
- run: meson compile livepresets_aarch64 -C builddir/ -v -j 14
- uses: actions/upload-artifact@v4
with:
name: MacOS Arm64
path: builddir/reaper_livepresets_aarch64.dylib

windows:
Expand All @@ -47,28 +49,21 @@ jobs:
- run: meson compile livepresets_x64 -C builddir/ -v -j 14
- uses: actions/upload-artifact@v4
with:
name: Windows x86_x64
path: builddir/reaper_livepresets_x64.dll

publish:
needs:
- linux
- windows
- macos
if: github.ref_type == 'tag'
#if: github.ref_type == 'tag'
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
path: builddir/reaper_livepresets_x86_64.dll
- uses: actions/download-artifact@v4
with:
path: builddir/reaper_livepresets_aarch64.dll
- uses: actions/download-artifact@v4
with:
path: builddir/reaper_livepresets_x64.dll
- uses: softprops/action-gh-release@v2
with:
files:
builddir/reaper_livepresets_x86_64.so
builddir/reaper_livepresets_x64.dll
builddir/reaper_livepresets_aarch64.dylib
# - uses: softprops/action-gh-release@v2
# with:
# files:
# builddir/reaper_livepresets_x86_64.so
# builddir/reaper_livepresets_x64.dll
# builddir/reaper_livepresets_aarch64.dylib

0 comments on commit e62140c

Please sign in to comment.