From e9bed79a4761f41934391384a2f4ab8a5f46f551 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Sun, 17 Sep 2023 09:31:37 -0400 Subject: [PATCH] Update release workflow --- .github/workflows/release.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8de8d5c..819c854 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,12 +16,12 @@ jobs: - uses: actions-rs/cargo@v1 with: command: build - args: --release + args: --target aarch64-apple-darwin --release - run: ls target - uses: actions/upload-artifact@v3 with: name: aarch64-apple-darwin - path: upnotify/upnotify + path: target/aarch64-apple-darwin/release/upnotify build-x86_64-apple-darwin: runs-on: macos-latest steps: @@ -34,11 +34,11 @@ jobs: - uses: actions-rs/cargo@v1 with: command: build - args: --release + args: --target x86_64-apple-darwin --release - uses: actions/upload-artifact@v3 with: name: x86_64-apple-darwin - path: upnotify/upnotify + path: target/x86_64-apple-darwin/release/upnotify build-aarch64-unknown-linux-gnu: runs-on: ubuntu-latest steps: @@ -51,11 +51,11 @@ jobs: - uses: actions-rs/cargo@v1 with: command: build - args: --release + args: --target aarch64-unknown-linux-gnu --release - uses: actions/upload-artifact@v3 with: name: aarch64-unknown-linux-gnu - path: upnotify/upnotify + path: target/aarch64-unknown-linux-gnu/release/upnotify build-x86_64-unknown-linux-gnu: runs-on: ubuntu-latest steps: @@ -68,11 +68,11 @@ jobs: - uses: actions-rs/cargo@v1 with: command: build - args: --release + args: --target x86_64-unknown-linux-gnu --release - uses: actions/upload-artifact@v3 with: name: x86_64-unknown-linux-gnu - path: upnotify/upnotify + path: target/aarch64-unknown-linux-gnu/release/upnotify build-x86_64-pc-windows-msvc: runs-on: windows-latest steps: @@ -85,11 +85,11 @@ jobs: - uses: actions-rs/cargo@v1 with: command: build - args: --release + args: --target x86_64-pc-windows-msvc --release - uses: actions/upload-artifact@v3 with: name: x86_64-pc-windows-msvc - path: upnotify/upnotify + path: target/x86_64-pc-windows-msvc/release/upnotify build-aarch64-pc-windows-msvc: runs-on: windows-latest steps: @@ -102,11 +102,11 @@ jobs: - uses: actions-rs/cargo@v1 with: command: build - args: --release + args: --target aarch64-pc-windows-msvc --release - uses: actions/upload-artifact@v3 with: name: aarch64-pc-windows-msvc - path: upnotify/upnotify + path: target/aarch64-pc-windows-msvc/release/upnotify archive: runs-on: ubuntu-latest needs: