Skip to content

Commit

Permalink
workflow: attach_release_assets: set dut1 segger
Browse files Browse the repository at this point in the history
Segger id is not bwing set.

Signed-off-by: Giacomo Dematteis <[email protected]>
  • Loading branch information
DematteisGiacomo committed Jun 17, 2024
1 parent 336c404 commit a8866f0
Showing 1 changed file with 28 additions and 26 deletions.
54 changes: 28 additions & 26 deletions .github/workflows/attach_release_assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,36 +8,38 @@ permissions:
on:
release:
types: [created]
push:

jobs:
trigger-dfu-check:
uses: ./.github/workflows/dfu_check.yml

trigger-target-test:
uses: ./.github/workflows/on_target.yml

attach-assets:
runs-on: ubuntu-22.04
needs: [trigger-dfu-check, trigger-target-test]
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Download artifact
uses: actions/download-artifact@v4
with:
name: firmware

- name: Deploy release to github
uses: softprops/action-gh-release@v2
with:
fail_on_unmatched_files: true
files: hello.nrfcloud.com-*.*

- name: Trigger publish firmware workflow
working-directory: .github/workflows
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh workflow run publish-firmware-bundles.yml \
-F version=${{ github.event.release.tag_name }}
secrets: inherit

# attach-assets:
# runs-on: ubuntu-22.04
# needs: [trigger-dfu-check, trigger-target-test]
# steps:
# - name: Checkout
# uses: actions/checkout@v4

# - name: Download artifact
# uses: actions/download-artifact@v4
# with:
# name: firmware

# - name: Deploy release to github
# uses: softprops/action-gh-release@v2
# with:
# fail_on_unmatched_files: true
# files: hello.nrfcloud.com-*.*

# - name: Trigger publish firmware workflow
# working-directory: .github/workflows
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: |
# gh workflow run publish-firmware-bundles.yml \
# -F version=${{ github.event.release.tag_name }}

0 comments on commit a8866f0

Please sign in to comment.