chore(ci): update action to NodeJS 24 versions
NodeJS 20 is EOL in April, so Github is starting to warn about NodeJS 20 Actions prior to phassing out in June.
This commit is contained in:
@@ -7,7 +7,7 @@ jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/stale@v8
|
||||
- uses: actions/stale@v10
|
||||
with:
|
||||
# Issue closure message
|
||||
close-issue-message: 'This issue has been closed due to no activity in over four weeks after having been marked as closure pending.'
|
||||
|
||||
@@ -127,7 +127,7 @@ jobs:
|
||||
./tools/build-gh.sh
|
||||
|
||||
- name: Upload ${{ matrix.target }}
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: firmware-${{ matrix.target }}
|
||||
path: |
|
||||
|
||||
@@ -71,7 +71,7 @@ jobs:
|
||||
|
||||
- name: Archive production artifacts
|
||||
if: success()
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: "${{ env.artifact_name }}"
|
||||
path: ${{github.workspace}}/output
|
||||
@@ -79,7 +79,7 @@ jobs:
|
||||
|
||||
- name: Archive build logs
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: "${{ env.artifact_name }}-logs"
|
||||
path: ${{github.workspace}}/logs
|
||||
|
||||
@@ -99,7 +99,7 @@ jobs:
|
||||
|
||||
- name: Archive production artifacts
|
||||
if: success()
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: "${{ env.artifact_name }}"
|
||||
path: ${{github.workspace}}/output
|
||||
@@ -107,7 +107,7 @@ jobs:
|
||||
|
||||
- name: Archive build logs
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: "${{ env.artifact_name }}-logs"
|
||||
path: ${{github.workspace}}/logs
|
||||
|
||||
@@ -57,7 +57,7 @@ jobs:
|
||||
run: ./tools/build-gh.sh
|
||||
|
||||
- name: Package firmware ${{ matrix.target }}
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: edgetx-firmware-nightly-${{ matrix.target }}
|
||||
path: |
|
||||
@@ -122,7 +122,7 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Deploy nightly release
|
||||
uses: softprops/action-gh-release@v2
|
||||
uses: softprops/action-gh-release@v2 #softprops/action-gh-release/pull/670 or v3 to clear nodejs log warning
|
||||
with:
|
||||
tag_name: nightly
|
||||
prerelease: true
|
||||
|
||||
@@ -6,7 +6,7 @@ on:
|
||||
- 'main'
|
||||
- '[0-9]+.[0-9]+'
|
||||
tags:
|
||||
- v*
|
||||
- v*
|
||||
paths:
|
||||
- 'fw.json'
|
||||
pull_request:
|
||||
@@ -22,7 +22,7 @@ jobs:
|
||||
name: Validate fw.json file
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- name: Validate fw.json syntax and schema
|
||||
run: python3 tools/validate-json.py --syntax-only
|
||||
|
||||
@@ -101,7 +101,7 @@ jobs:
|
||||
|
||||
- name: Archive production artifacts
|
||||
if: success()
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: "${{ env.artifact_name }}"
|
||||
path: ${{github.workspace}}/output
|
||||
@@ -109,7 +109,7 @@ jobs:
|
||||
|
||||
- name: Archive build logs
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: "${{ env.artifact_name }}-logs"
|
||||
path: ${{github.workspace}}/logs
|
||||
|
||||
Reference in New Issue
Block a user