Compare commits
No commits in common. "master" and "gitea-actions" have entirely different histories.
master
...
gitea-acti
@ -6,7 +6,7 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: zmkfirmware/zmk-build-arm:stable
|
||||
image: ghcr.io/bcdevices/zephyr:latest
|
||||
name: Build
|
||||
steps:
|
||||
- name: Install Dependencies
|
||||
@ -14,18 +14,15 @@ jobs:
|
||||
apt-get update;
|
||||
apt-get install --yes --no-install-recommends \
|
||||
nodejs \
|
||||
zstd \
|
||||
zip
|
||||
zstd
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Hash west modules
|
||||
- name: Hash west module
|
||||
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)"
|
||||
HASH=$(sha256sum zephyr/west.yml | head -c 64)
|
||||
echo "hash=$HASH" >> "$GITHUB_OUTPUT"
|
||||
echo "computed hash: $HASH"
|
||||
|
||||
@ -77,17 +74,15 @@ 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