Skip to content

Commit

Permalink
cargocargocargocargocargocargobinutilscargocargocargocargocargocargoc…
Browse files Browse the repository at this point in the history
…argocargocargocargocargo
  • Loading branch information
FizzyApple12 committed Apr 27, 2024
1 parent 8560283 commit 788c025
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy-application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ jobs:

- run: cargo build --release
working-directory: application

- run: cargo install cargo-binutils

- run: strip -s application
working-directory: target/thumbv6m-none-eabi/release
- run: cargo objcopy --release --bin application -- -O binary application.bin

- run: echo "APP_VERSION=$(cat application/Cargo.toml | grep -E -o "[0-9]+\.[0-9]+\.[0-9]+" | head -n 1)" >> $GITHUB_OUTPUT
id: version
Expand All @@ -42,4 +43,4 @@ jobs:
make_latest: true
tag_name: ${{ steps.version.outputs.APP_VERSION }}
token: ${{ secrets.GH_TOKEN }}
files: target/thumbv6m-none-eabi/release/application
files: target/thumbv6m-none-eabi/release/application.bin

0 comments on commit 788c025

Please sign in to comment.