-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e1add01
commit d8944ae
Showing
2 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Build-Release-Images | ||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
workflow_dispatch: {} | ||
jobs: | ||
build-release-images: | ||
name: Build and Release Firmware Images | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Update APT | ||
run: 'sudo apt-get update' | ||
- name: Install dependencies | ||
run: 'sudo dependencies/debian/build.sh' | ||
- name: Build firmware images | ||
run: 'make images CURL_OPTS="-s"' | ||
- name: Install ISO dependencies | ||
run: 'sudo dependencies/debian/build-iso.sh' | ||
- name: Build ISO | ||
run: 'make iso' | ||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
body: | | ||
Automated release. Please see the project README.md for more information. | ||
[Build logs.](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) | ||
prerelease: True | ||
files: | | ||
build/images/* | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters