Skip to content

Commit cfeec3a

Browse files
committed
move to binary folder
1 parent b63571f commit cfeec3a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,10 @@ jobs:
7676

7777
- name: Move binaries
7878
run: |
79-
mv -f ${{ env.REPOSITORY }}-x86_64-apple-darwin/${{ env.REPOSITORY }} ./byteme-x86_64-apple-darwin
80-
mv -f ${{ env.REPOSITORY }}-x86_64-unknown-linux-gnu/${{ env.REPOSITORY }} ./byteme-x86_64-unknown-linux-gnu
81-
mv -f ${{ env.REPOSITORY }}-x86_64-pc-windows-msvc/${{ env.REPOSITORY }}.exe ./byteme-x86_64-pc-windows.exe
79+
rm -rf bin && mkdir bin
80+
mv -f ${{ env.REPOSITORY }}-x86_64-apple-darwin/${{ env.REPOSITORY }} ./bin/${{ env.REPOSITORY }}-x86_64-apple-darwin
81+
mv -f ${{ env.REPOSITORY }}-x86_64-unknown-linux-gnu/${{ env.REPOSITORY }} ./bin/${{ env.REPOSITORY }}-x86_64-unknown-linux-gnu
82+
mv -f ${{ env.REPOSITORY }}-x86_64-pc-windows-msvc/${{ env.REPOSITORY }}.exe ./bin/${{ env.REPOSITORY }}-x86_64-pc-windows.exe
8283
8384
- name: Release
8485
uses: softprops/action-gh-release@v1
@@ -89,6 +90,6 @@ jobs:
8990
draft: true
9091
fail_on_unmatched_files: true
9192
files: |
92-
${{ env.REPOSITORY }}-x86_64-apple-darwin
93-
${{ env.REPOSITORY }}-x86_64-unknown-linux-gnu
94-
${{ env.REPOSITORY }}-x86_64-pc-windows.exe
93+
./bin/${{ env.REPOSITORY }}-x86_64-apple-darwin
94+
./bin/${{ env.REPOSITORY }}-x86_64-unknown-linux-gnu
95+
./bin/${{ env.REPOSITORY }}-x86_64-pc-windows.exe

0 commit comments

Comments
 (0)