From 3bc3d2a5a402427af6a4952fb512b48b288bde84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sandstr=C3=B6m?= Date: Sun, 1 Sep 2024 14:54:53 +0200 Subject: [PATCH] cleanup github action --- .github/workflows/compile_plugin.yaml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/compile_plugin.yaml b/.github/workflows/compile_plugin.yaml index 72d3468..5b467f8 100644 --- a/.github/workflows/compile_plugin.yaml +++ b/.github/workflows/compile_plugin.yaml @@ -30,19 +30,25 @@ jobs: - name: compile intel mac and zip run: | cargo xtask bundle havregryn --target=x86_64-apple-darwin --release - zip -r Havregryn_macOS_intel.vst3.zip ${DIR}Havregryn.vst3 + cd ${DIR} + zip -r Havregryn_macOS_intel.vst3.zip Havregryn.vst3 + cd - - name: compile arm mac and zip run: | - cargo xtask bundle havregryn --target=aarch64-apple-darwin --release - zip -r Havregryn_macOS_arm.vst3.zip ${DIR}Havregryn.vst3 + cargo xtask bundle havregryn --target=aarch64-apple-darwin --release + cd ${DIR} + zip -r Havregryn_macOS_arm.vst3.zip Havregryn.vst3 + cd - - name: compile windows and zip run: | - cargo xtask bundle havregryn --target=x86_64-pc-windows-gnu --release - zip -r Havregryn_Win.vst3.zip ${DIR}Havregryn.vst3 + cargo xtask bundle havregryn --target=x86_64-pc-windows-gnu --release + cd ${DIR} + zip -r Havregryn_Win.vst3.zip Havregryn.vst3 + cd - - name: create release uses: ncipollo/release-action@v1 with: - artifacts: 'Havregryn_macOS_intel.vst3.zip, Havregryn_macOS_arm.vst3.zip, Havregryn_Win.vst3.zip' \ No newline at end of file + artifacts: '/Users/runner/work/Havregryn/Havregryn/target/bundled/Havregryn_macOS_intel.vst3.zip, /Users/runner/work/Havregryn/Havregryn/target/bundled/Havregryn_macOS_arm.vst3.zip, /Users/runner/work/Havregryn/Havregryn/target/bundled/Havregryn_Win.vst3.zip' \ No newline at end of file