Skip to content

Commit 0b18591

Browse files
committed
Upload correct release.
1 parent 8bd4416 commit 0b18591

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/build_and_release.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,19 @@ jobs:
3636
run: cd neotron-bmc-nucleo && DEFMT_LOG=info cargo build --release --verbose --target=thumbv7em-none-eabihf
3737

3838
- name: Upload files to Release
39-
if: github.event_name == 'push' && startswith(github.ref, 'refs/tags/')
39+
if: github.event_name == 'push' && startswith(github.ref, 'refs/tags/pico-')
4040
uses: softprops/action-gh-release@v1
4141
with:
4242
files: |
4343
neotron-bmc-pico/target/thumbv6m-none-eabi/release/neotron-bmc-pico
44-
neotron-bmc-nucleo/target/thumbv7em-none-eabihf/release/neotron-bmc-nucleo
44+
env:
45+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46+
47+
- name: Upload files to Release
48+
if: github.event_name == 'push' && startswith(github.ref, 'refs/tags/nucleo-')
49+
uses: softprops/action-gh-release@v1
50+
with:
51+
files: |
52+
neotron-bmc-nucleo/target/thumbv6m-none-eabi/release/neotron-bmc-nucleo
4553
env:
4654
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

neotron-bmc-pico/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)