Skip to content

Commit

Permalink
Simplifying tagged-release action
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-summers authored Oct 9, 2020
1 parent 67dd3ea commit 4d0dc2f
Showing 1 changed file with 5 additions and 19 deletions.
24 changes: 5 additions & 19 deletions .github/workflows/tagged-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,33 +21,19 @@ jobs:
override: true

- name: Install Binutils
uses: actions-rs/cargo@v1
with:
command: install
args: cargo-binutils
run: cargo install cargo-binutils

- name: Build Debug
uses: actions-rs/cargo@v1
with:
command: build
run: cargo build

- name: Build Release
uses: actions-rs/cargo@v1
with:
command: build
args: --release
run: cargo build --release

- name: Dump Debug Binary
uses: actions-rs/cargo@v1
with:
command: objcopy
args: -- -O binary booster-debug.bin
run: cargo objcopy -- -O binary booster-debug.bin

- name: Dump Release Binary
uses: actions-rs/cargo@v1
with:
command: objcopy
args: --release -- -O binary booster-release.bin
run: cargo objcopy --release -- -O binary booster-release.bin

- uses: marvinpinto/action-automatic-releases@v1.1.0
with:
Expand Down

0 comments on commit 4d0dc2f

Please sign in to comment.