Update rpi-image.yml
This commit is contained in:
20
.github/workflows/rpi-image.yml
vendored
20
.github/workflows/rpi-image.yml
vendored
@@ -31,10 +31,6 @@ jobs:
|
||||
run: |
|
||||
apt update
|
||||
apt install -y libudev-dev libusb-1.0-0-dev libhidapi-libusb0 libjpeg-dev zlib1g-dev libopenjp2-7 libtiff5-dev libgtk-3-dev python3-pip
|
||||
tee /etc/udev/rules.d/10-streamdeck.rules << EOF
|
||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0fd9", GROUP="users", TAG+="uaccess"
|
||||
EOF
|
||||
udevadm control --reload-rules
|
||||
pip install streamdeckapi
|
||||
crontab -l | { cat; echo "@reboot streamdeckapi-server"; } | crontab -
|
||||
- name: Print outputs
|
||||
@@ -43,11 +39,11 @@ jobs:
|
||||
echo 'image-path: ${{ steps.create-image.outputs.image-path }}'
|
||||
echo 'image-size: ${{ steps.create-image.outputs.image-size }}'
|
||||
echo 'image-sha256sum: ${{ steps.create-image.outputs.image-sha256sum }}'
|
||||
#- name: Upload build artifact
|
||||
# uses: actions/upload-artifact@v4
|
||||
# with:
|
||||
# name: built-image
|
||||
# path: ${{ steps.create-image.outputs.image-path }}
|
||||
# if-no-files-found: error
|
||||
# retention-days: 2
|
||||
# compression-level: 0 # Already compressed with xz above
|
||||
- name: Upload build artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: built-image
|
||||
path: ${{ steps.create-image.outputs.image-path }}
|
||||
if-no-files-found: error
|
||||
retention-days: 2
|
||||
compression-level: 0 # Already compressed with xz above
|
||||
|
||||
Reference in New Issue
Block a user