From 19a953b269e6ac1c65fcbc2e63ce4b69e6395383 Mon Sep 17 00:00:00 2001 From: Gunnar Skjold Date: Thu, 13 Feb 2025 12:55:43 +0100 Subject: [PATCH] Updated workflows --- .github/workflows/release.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d0fb65c9..e7ec8c6a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Check out code from repo - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Get release version for filenames id: release_tag env: @@ -33,17 +33,17 @@ jobs: sed -i 's/NO_ENERGY_SPEEDOMETER_PASS/ENERGY_SPEEDOMETER_PASS=\\"${{secrets.ENERGY_SPEEDOMETER_PASS}}\\"/g' platformio.ini - name: Cache Python dependencies - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('platformio.ini') }} - name: Cache PlatformIO dependencies - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ~/.pio/libdeps key: ${{ runner.os }}-pio-${{ hashFiles('platformio.ini') }} - name: Set up Python 3.9 - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: 3.9 - name: Install dependencies @@ -52,9 +52,9 @@ jobs: pip install -U platformio css_html_js_minify - name: Set up node - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: '16.x' + node-version: '22.x' - name: Build with node run: | cd lib/SvelteUi/app @@ -69,7 +69,7 @@ jobs: - name: Create Release id: create_release - uses: actions/create-release@v1.0.0 + uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: