diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a65089f..3722f6c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,8 @@ jobs: - aarch64-unknown-linux-gnu steps: - - uses: actions/checkout@v3 + - name: Checkout source + uses: actions/checkout@v3 - name: Install cross run: cargo install cross - name: Build @@ -42,9 +43,17 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/download-artifact@v3 + - name: Dowload Binaries + uses: actions/download-artifact@v3 + - name: Rename Binaries + run: | + for file in $(find -name xbnet) + do + mv -v "$file" "${file%%-unknown*}" + rmdir -v "${file%/*}" + done - name: Release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') with: - files: xbee-* + files: xbnet-*