From 5c152b0cbef2d72fc02858819be1690c2c577eec Mon Sep 17 00:00:00 2001 From: Ferdinand Schober Date: Wed, 27 Dec 2023 21:38:22 +0100 Subject: [PATCH] ci: fix name-clash with macos binary --- .github/workflows/pre-release.yml | 8 +++++--- .github/workflows/tagged-release.yml | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index b6d0c3a4..1bc0483f 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -84,12 +84,14 @@ jobs: - name: install dependencies run: brew install gtk4 libadwaita - name: Release Build - run: cargo build --release + run: | + cargo build --release + cp target/release/lan-mouse lan-mouse-macos-intel - name: Upload build artifact uses: actions/upload-artifact@v3 with: name: lan-mouse-macos - path: target/release/lan-mouse + path: lan-mouse-macos-intel pre-release: name: "Pre Release" @@ -107,5 +109,5 @@ jobs: title: "Development Build" files: | lan-mouse-linux/lan-mouse - lan-mouse-macos/lan-mouse + lan-mouse-macos/lan-mouse-macos-intel lan-mouse-windows/lan-mouse.zip diff --git a/.github/workflows/tagged-release.yml b/.github/workflows/tagged-release.yml index 7fc8be8b..48252fb6 100644 --- a/.github/workflows/tagged-release.yml +++ b/.github/workflows/tagged-release.yml @@ -80,12 +80,14 @@ jobs: - name: install dependencies run: brew install gtk4 libadwaita - name: Release Build - run: cargo build --release + run: | + cargo build --release + cp target/release/lan-mouse lan-mouse-macos-intel - name: Upload build artifact uses: actions/upload-artifact@v3 with: name: lan-mouse-macos - path: target/release/lan-mouse + path: lan-mouse-macos-intel tagged-release: name: "Tagged Release" @@ -101,5 +103,5 @@ jobs: prerelease: false files: | lan-mouse-linux/lan-mouse - lan-mouse-macos/lan-mouse + lan-mouse-macos/lan-mouse-macos-intel lan-mouse-windows/lan-mouse.zip