Compare commits
23 Commits
gitea-acti
...
master
Author | SHA1 | Date | |
---|---|---|---|
698641a011 | |||
d63021ee27 | |||
f006a1180c | |||
3409345409 | |||
1932db7ab7 | |||
314bf1345d | |||
ef9d647efc | |||
eb877446cf | |||
d3c861a069 | |||
ff1f770ec0 | |||
e6e407b0ae | |||
c7e21c54b7 | |||
5e9cf391c5 | |||
f0d9fe52e2 | |||
ef20c44a71 | |||
d690c3f6a7 | |||
1d297244c9 | |||
d07582b181 | |||
8485c34856 | |||
b6c58277a1 | |||
7c6e41f899 | |||
e05bc8e600 | |||
389502e317 |
@ -6,7 +6,7 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/bcdevices/zephyr:latest
|
||||
image: zmkfirmware/zmk-build-arm:stable
|
||||
name: Build
|
||||
steps:
|
||||
- name: Install Dependencies
|
||||
@ -14,15 +14,18 @@ jobs:
|
||||
apt-get update;
|
||||
apt-get install --yes --no-install-recommends \
|
||||
nodejs \
|
||||
zstd
|
||||
zstd \
|
||||
zip
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Hash west module
|
||||
- name: Hash west modules
|
||||
id: hash-west
|
||||
run: |
|
||||
HASH=$(sha256sum zephyr/west.yml | head -c 64)
|
||||
FILE_PATH=zephyr/west.yml
|
||||
FILES=$(find . -name build.yml -o -name west.yml -type f -exec sha256sum \; | sort)
|
||||
HASH="$(echo -n $FILES | sha256sum | head -c 64)"
|
||||
echo "hash=$HASH" >> "$GITHUB_OUTPUT"
|
||||
echo "computed hash: $HASH"
|
||||
|
||||
@ -46,7 +49,7 @@ jobs:
|
||||
|
||||
- name: West Init
|
||||
run: west init -l config
|
||||
|
||||
|
||||
- name: West Update
|
||||
run: west update
|
||||
|
||||
@ -74,15 +77,17 @@ jobs:
|
||||
- name: Zip Artifacts
|
||||
run: zip firmware.zip corne_left_nice_nano_v2.uf2 corne_right_nice_nano_v2.uf2
|
||||
|
||||
- name: Hash west modules
|
||||
id: hash-west
|
||||
run: |
|
||||
FILE_PATH=zephyr/west.yml
|
||||
FILES=$(find . -name build.yml -o -name west.yml -type f -exec sha256sum \; | sort)
|
||||
HASH="$(echo -n $FILES | sha256sum | head -c 64)"
|
||||
echo "hash=$HASH" >> "$GITHUB_OUTPUT"
|
||||
echo "computed hash: $HASH"
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
path: firmware.zip
|
||||
name: firmware.zip
|
||||
|
||||
- name: Hash west module
|
||||
id: hash-west
|
||||
run: |
|
||||
HASH=$(sha256sum zephyr/west.yml | head -c 64)
|
||||
echo "hash=$HASH" >> "$GITHUB_OUTPUT"
|
||||
echo "computed hash: $HASH"
|
||||
|
Loading…
Reference in New Issue
Block a user