Skip to content

Commit

Permalink
add suffix to windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
mpwsh committed Oct 3, 2023
1 parent 973dd65 commit c5020df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ concurrency:

env:
REPOSITORY: ${{ github.event.repository.name }}
BINARY_NAME: hub

jobs:
build:
Expand Down Expand Up @@ -98,7 +99,7 @@ jobs:

- name: Rename binary
run: |
mv ./target/release/hub ./target/release/${{ env.REPOSITORY }}${{ matrix.suffix }}
mv ./target/release/${{ env.BINARY_NAME }}${{matrix.suffix}} ./target/release/${{ env.REPOSITORY }}${{ matrix.suffix }}
- uses: actions/upload-artifact@master
with:
Expand Down

0 comments on commit c5020df

Please sign in to comment.