Skip to content

Commit

Permalink
Fix release logic
Browse files Browse the repository at this point in the history
  • Loading branch information
blueberrymuffin3 committed Nov 17, 2022
1 parent e0fb563 commit 0545864
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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-*

0 comments on commit 0545864

Please sign in to comment.