Skip to content

Commit

Permalink
Remove app_test_update.hex release asset
Browse files Browse the repository at this point in the history
  • Loading branch information
bandogora committed Jun 15, 2024
1 parent 2d5e629 commit f156f1c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 45 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,3 @@ jobs:
with:
name: app_update.bin
path: build/zephyr/app_update.bin

- name: Upload app_test_update.hex
if: ${{ inputs.upload_artifacts }}
uses: actions/upload-artifact@v4
with:
name: app_test_update.hex
path: build/zephyr/app_test_update.hex
38 changes: 0 additions & 38 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,6 @@ jobs:
with:
name: app_update.bin

- name: Download app_test_update.hex
uses: actions/download-artifact@v4
with:
name: app_test_update.hex

- name: Upload merged.hex
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -131,36 +126,3 @@ jobs:
"${{ env.upload_url }}?name=app_update_sha256.sum" \
--data-binary "@app_update_sha256.sum"
echo 'Uploaded build artifact app_update_sha256.sum as asset to release' >> $GITHUB_STEP_SUMMARY
- name: Upload app_test_update.hex
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OWNER: ${{ github.repository_owner }}
REPO: ${{ github.event.repository.name }}
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $GH_TOKEN" \
-H "X-GitHub-Api-Version: 2022-11-28" \
-H "Content-Type: application/octet-stream" \
"${{ env.upload_url }}?name=app_test_update.hex" \
--data-binary "@app_test_update.hex"
echo 'Uploaded build artifact app_test_update.hex as asset to release' >> $GITHUB_STEP_SUMMARY
- name: Upload app_test_update_sha256.sum
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OWNER: ${{ github.repository_owner }}
REPO: ${{ github.event.repository.name }}
run: |
sha256sum app_test_update.hex > app_test_update_sha256.sum
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $GH_TOKEN" \
-H "X-GitHub-Api-Version: 2022-11-28" \
-H "Content-Type: application/octet-stream" \
"${{ env.upload_url }}?name=app_test_update_sha256.sum" \
--data-binary "@app_test_update_sha256.sum"
echo 'Uploaded build artifact app_test_update_sha256.sum as asset to release' >> $GITHUB_STEP_SUMMARY

0 comments on commit f156f1c

Please sign in to comment.