From b8d81dbd3f1b2bf496416a8d5627485bd36c738d Mon Sep 17 00:00:00 2001 From: Rick Henry Date: Fri, 20 Aug 2021 22:42:40 -0400 Subject: [PATCH] try to fix windows gh action Signed-off-by: Rick Henry --- .github/workflows/release.yml | 12 ++++++------ .github/workflows/rust.yml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d9739b1..b71eb46 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: Rust +name: Build for Release on: push: @@ -16,22 +16,22 @@ jobs: - os: ubuntu-latest target: x86_64-unknown-linux-gnu cross: false - artifact_name: rustmon asset_name: rustmon-linux-x86_64 + artifact_name: target/x86_64-unknown-linux-gnu/release/rustmon - os: ubuntu-latest target: aarch64-unknown-linux-gnu cross: true - artifact_name: rustmon + artifact_name: target/aarch64-unknown-linux-gnu/release/rustmon asset_name: rustmon-linux-aarch64 - os: macos-latest target: x86_64-apple-darwin cross: false - artifact_name: rustmon + artifact_name: target/x86_64-apple-darwin/release/rustmon asset_name: rustmon-macos-x86_64 - os: windows-latest target: x86_64-pc-windows-msvc cross: false - artifact_name: rustmon + artifact_name: target\x86_64-pc-windows-msvc\release\rustmon asset_name: rustmon-windows-x86_64 runs-on: ${{ matrix.os }} @@ -56,6 +56,6 @@ jobs: prerelease: true override: true repo_token: ${{ secrets.GITHUB_TOKEN }} - file: target/${{ matrix.target }}/release/${{ matrix.artifact_name }} + file: ${{ matrix.artifact_name }} asset_name: ${{ matrix.asset_name }} tag: ${{ github.ref }} \ No newline at end of file diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index fadf9f9..ac9b9a0 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -1,4 +1,4 @@ -name: Rust +name: Build and test on: push: