Skip to content

Commit

Permalink
ci: upload firmware artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
paradajz committed Dec 6, 2024
1 parent 41d826e commit 75beacd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,13 @@ jobs:
runCmd: |
git fetch --tags
./scripts/build_targets.sh --type=build
./scripts/copy_release_binaries.sh --build-dir=build --copy-dir=release
./scripts/build_targets.sh --type=test
- name: Upload firmware artifacts
uses: actions/upload-artifact@v4
with:
name: binaries
path: release/*
- name: Save ccache
uses: actions/cache/save@v4
if: always()
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,14 @@ jobs:
git fetch --tags
./scripts/build_targets.sh --type=build
./scripts/copy_release_binaries.sh --build-dir=build --copy-dir=release
tag_name="${GITHUB_REF##*/}"
hub release edit $(find ./release -type f -printf "-a %p ") -m "" "$tag_name"
- name: Upload firmware artifacts
uses: actions/upload-artifact@v4
with:
name: binaries
path: release/*
-
name: Upload binaries to Github Release
uses: ncipollo/release-action@v1
with:
artifacts: release/*
allowUpdates: true

0 comments on commit 75beacd

Please sign in to comment.