diff --git a/.github/workflows/attach_release_assets.yml b/.github/workflows/attach_release_assets.yml index ff03aae3..07e861ca 100644 --- a/.github/workflows/attach_release_assets.yml +++ b/.github/workflows/attach_release_assets.yml @@ -8,6 +8,7 @@ permissions: on: release: types: [created] + push: jobs: trigger-dfu-check: @@ -15,29 +16,30 @@ jobs: 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 }}