Rework workflows and add devbuilds

This commit is contained in:
Willy-JL
2023-07-20 02:00:09 +01:00
parent f951eb5541
commit 49e6554acd
8 changed files with 107 additions and 45 deletions

View File

@@ -31,21 +31,21 @@ jobs:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- name: "Read version tag"
run: bash .github/workflow_data/version.sh
- name: 'Build the firmware'
run: |
set -e
for TARGET in ${TARGETS}; do
TARGET_HW="$(echo "${TARGET}" | sed 's/f//')"; \
./fbt TARGET_HW=$TARGET_HW FORCE_NO_DIRTY=1 updater_package
./fbt TARGET_HW=$TARGET_HW DIST_SUFFIX=$VERSION_TAG FORCE_NO_DIRTY=1 updater_package
done
- name: "Check for uncommitted changes"
run: |
git diff --exit-code
- name: "Read version tag"
run: bash .github/workflow_data/version.sh
- name: "Make tgz, zip and sdk"
run: bash .github/workflow_data/package.sh