Skip to content

Commit

Permalink
try to fix windows gh action
Browse files Browse the repository at this point in the history
Signed-off-by: Rick Henry <[email protected]>
  • Loading branch information
rickh94 committed Aug 21, 2021
1 parent 9151c0e commit b8d81db
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Rust
name: Build for Release

on:
push:
Expand All @@ -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 }}
Expand All @@ -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 }}
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Rust
name: Build and test

on:
push:
Expand Down

0 comments on commit b8d81db

Please sign in to comment.