Update CI actions version (#82)

This commit is contained in:
Lorow 2025-01-11 20:23:59 +01:00 committed by GitHub
parent fbaeb21bb1
commit 210dad86e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,7 +40,7 @@ jobs:
matrix: ${{fromJson(needs.setup.outputs.matrix)}} matrix: ${{fromJson(needs.setup.outputs.matrix)}}
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Build OpenIris Firmware - name: Build OpenIris Firmware
@ -68,7 +68,7 @@ jobs:
run: | run: |
echo "FIRMWARE_NAME=$(cat ESP/build/${{ matrix.target_name }}${{ matrix.target_build_type }}/firmware_name.txt)" >> $GITHUB_ENV echo "FIRMWARE_NAME=$(cat ESP/build/${{ matrix.target_name }}${{ matrix.target_build_type }}/firmware_name.txt)" >> $GITHUB_ENV
- name: Archive Firmware Binaries - name: Archive Firmware Binaries
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: ${{ matrix.target_name }}${{ matrix.target_build_type }}-firmware name: ${{ matrix.target_name }}${{ matrix.target_build_type }}-firmware
#path: "./ESP/.pio/build/${{ matrix.target_name }}${{ matrix.target_build_type }}/${{ env.FIRMWARE_NAME }}.bin" #path: "./ESP/.pio/build/${{ matrix.target_name }}${{ matrix.target_build_type }}/${{ env.FIRMWARE_NAME }}.bin"
@ -80,17 +80,17 @@ jobs:
needs: [build] needs: [build]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Create Directory - name: Create Directory
run: mkdir -p build run: mkdir -p build
- name: Download Firmware Files - name: Download Firmware Files
uses: actions/download-artifact@v2 uses: actions/download-artifact@v4
with: with:
path: build/ path: build/
- name: Setup node - name: Setup node
uses: actions/setup-node@v3 uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 18
- run: npm install -g conventional-changelog-conventionalcommits@6 - run: npm install -g conventional-changelog-conventionalcommits@6
@ -117,6 +117,6 @@ jobs:
timeout-minutes: 10 timeout-minutes: 10
steps: steps:
- name: "♻️ remove build artifacts" - name: "♻️ remove build artifacts"
uses: geekyeggo/delete-artifact@v1 uses: geekyeggo/delete-artifact@v5
with: with:
name: ${{ matrix.target_name }}${{ matrix.target_build_type }}-firmware name: ${{ matrix.target_name }}${{ matrix.target_build_type }}-firmware