Skip to content

Commit

Permalink
fix: create folder if not exists
Browse files Browse the repository at this point in the history
  • Loading branch information
kauefraga authored May 4, 2024
1 parent e610eb9 commit efe8597
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,9 @@ jobs:
BIN_RELEASE="${PROJECT_NAME}-${{ matrix.name }}${BIN_SUFFIX}"
BIN_RELEASE_VERSIONED="${PROJECT_NAME}-${{ github.ref_name }}-${{ matrix.name }}${BIN_SUFFIX}"

if [ ! -d "./bin" ]; then
mkdir bin
fi

# Move the built binary where you want it
mv "${BIN_OUTPUT}" "./bin/${BIN_RELEASE}"

0 comments on commit efe8597

Please sign in to comment.