Skip to content

Commit

Permalink
Fix file name on release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
chrsmutti committed Mar 30, 2024
1 parent 9839048 commit a6fe862
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Expand Up @@ -17,18 +17,17 @@ jobs:
runs-on: ${{ matrix.target.os }}
env:
TARGET: ${{ matrix.target.target }}
FILE: homer_${GITHUB_REF_NAME}_${TARGET}
steps:
- uses: actions/checkout@v4

- name: Add target
run: rustup target add $TARGET
run: rustup target add ${TARGET}

- name: Build
run: cargo build --release --target $TARGET
run: cargo build --release --target ${TARGET}

- name: Rename binary
run: mv target/$TARGET/release/homer ${FILE}
run: mv target/${TARGET}/release/homer homer_${GITHUB_REF_NAME}_${TARGET}

- name: Release
uses: softprops/action-gh-release@v2
Expand Down

0 comments on commit a6fe862

Please sign in to comment.