From cfeec3ab4b33c387fc09910889d766d354a62bc8 Mon Sep 17 00:00:00 2001 From: mpw Date: Sun, 5 Nov 2023 19:28:41 -0300 Subject: [PATCH] move to binary folder --- .github/workflows/build.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 00f3c0d..dc4ddd0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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