Skip to content

Commit

Permalink
prepare to run
Browse files Browse the repository at this point in the history
  • Loading branch information
duhow committed Sep 8, 2024
1 parent 2c6c6f0 commit eca1116
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ on:
push:
tags:
- '*.*.*'
branches:
- build-release

jobs:
packages:
Expand All @@ -27,10 +25,10 @@ jobs:

image:
name: Image
#needs: [packages]
needs: [packages]
runs-on: ubuntu-latest
strategy:
fail-fast: true
fail-fast: false
matrix:
model: [lx01, lx06, l09a, l09b]
env:
Expand Down Expand Up @@ -58,13 +56,11 @@ jobs:
- name: Pull build packages
uses: actions/download-artifact@v4
if: false
with:
name: build-${{ matrix.model }}
path: build-packages/targets/

- name: Extract build packages
if: false
env:
SOURCE_DIR: build-packages/targets
TARGET: build-packages/s2t/armv7
Expand All @@ -91,12 +87,14 @@ jobs:
SIZE=`stat -c%s ${NAME}`
echo "size=${SIZE}" | tee -a ${GITHUB_OUTPUT}
echo "```json" >> ${GITHUB_STEP_SUMMARY}
jq -nc \
--arg name "$NAME" \
--argjson size "$SIZE" \
--arg hash "$HASH" \
--arg version "$BASE_VERSION" \
'{"name": $name, "size": $size, "hash": $hash, "base_version": $version}' >> ${GITHUB_STEP_SUMMARY}
echo "```" >> ${GITHUB_STEP_SUMMARY}
- name: Upload image
uses: softprops/action-gh-release@v2
Expand Down

0 comments on commit eca1116

Please sign in to comment.