Skip to content

Commit

Permalink
move to binary folder
Browse files Browse the repository at this point in the history
  • Loading branch information
mpwsh committed Nov 5, 2023
1 parent b63571f commit cfeec3a
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,10 @@ jobs:

- name: Move binaries
run: |
mv -f ${{ env.REPOSITORY }}-x86_64-apple-darwin/${{ env.REPOSITORY }} ./byteme-x86_64-apple-darwin
mv -f ${{ env.REPOSITORY }}-x86_64-unknown-linux-gnu/${{ env.REPOSITORY }} ./byteme-x86_64-unknown-linux-gnu
mv -f ${{ env.REPOSITORY }}-x86_64-pc-windows-msvc/${{ env.REPOSITORY }}.exe ./byteme-x86_64-pc-windows.exe
rm -rf bin && mkdir bin
mv -f ${{ env.REPOSITORY }}-x86_64-apple-darwin/${{ env.REPOSITORY }} ./bin/${{ env.REPOSITORY }}-x86_64-apple-darwin
mv -f ${{ env.REPOSITORY }}-x86_64-unknown-linux-gnu/${{ env.REPOSITORY }} ./bin/${{ env.REPOSITORY }}-x86_64-unknown-linux-gnu
mv -f ${{ env.REPOSITORY }}-x86_64-pc-windows-msvc/${{ env.REPOSITORY }}.exe ./bin/${{ env.REPOSITORY }}-x86_64-pc-windows.exe
- name: Release
uses: softprops/action-gh-release@v1
Expand All @@ -89,6 +90,6 @@ jobs:
draft: true
fail_on_unmatched_files: true
files: |
${{ env.REPOSITORY }}-x86_64-apple-darwin
${{ env.REPOSITORY }}-x86_64-unknown-linux-gnu
${{ env.REPOSITORY }}-x86_64-pc-windows.exe
./bin/${{ env.REPOSITORY }}-x86_64-apple-darwin
./bin/${{ env.REPOSITORY }}-x86_64-unknown-linux-gnu
./bin/${{ env.REPOSITORY }}-x86_64-pc-windows.exe

0 comments on commit cfeec3a

Please sign in to comment.