File tree Expand file tree Collapse file tree 3 files changed +21
-2
lines changed
Expand file tree Collapse file tree 3 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 3030 uses : actions/checkout@v4
3131
3232 - name : " 🔎 Determine OctoPi version"
33- uses : actions/github-script@v6
33+ uses : actions/github-script@v7
3434 with :
3535 script : |
3636 let release = null;
@@ -163,6 +163,7 @@ jobs:
163163
164164 * OctoPi ${{ env.OCTOPI_VERSION }}
165165 * OctoPrint ${{ env.OCTOPRINT_VERSION }}
166+ * Latest versions of the bundled OctoPrint plugins
166167 * Latest kernel & bootloader
167168 * Latest libcamera-apps
168169 * New camera-streamer based webcam stack
@@ -257,7 +258,7 @@ jobs:
257258 environment : live
258259 steps :
259260
260- - uses : actions/github-script@v6
261+ - uses : actions/github-script@v7
261262 name : " ✔ Mark release as tested"
262263 env :
263264 TAG : " ${{ needs.build.outputs.tag }}"
Original file line number Diff line number Diff line change 1+ set -x
2+ set -e
3+
4+ export LC_ALL=C
5+
6+ source /common.sh
7+ install_cleanup_trap
8+
9+ # if pb is there, we don't need to do anything
10+ [ -f /usr/local/bin/yq ] && exit 0
11+
12+ curl -L -o /usr/local/bin/yq https://github.com/mikefarah/yq/releases/download/v4.43.1/yq_linux_arm
13+ chmod +x /usr/local/bin/yq
Original file line number Diff line number Diff line change @@ -14,3 +14,8 @@ if [ -n "$OCTOPRINT_VERSION" ]; then
1414else
1515 sudo -u pi /home/pi/oprint/bin/pip install -U OctoPrint $BUNDLED
1616fi
17+
18+ # make sure to mark the file check wizard as seen
19+ if [ $(/usr/local/bin/yq '.server.seenWizards.file_check' /home/pi/.octoprint/config.yaml) == "null" ]; then
20+ sudo -u pi FILECHECK_WIZARD=$(sudo -u pi /home/pi/oprint/bin/python -c "import octoprint_file_check; print(octoprint_file_check.WIZARD_VERSION)") /usr/local/bin/yq -i '.server.seenWizards.file_check = env(FILECHECK_WIZARD)' /home/pi/.octoprint/config.yaml
21+ fi
You can’t perform that action at this time.
0 commit comments