Skip to content

Commit b88fb7f

Browse files
authored
Update deprecated actions in Github Actions (#619)
1 parent 01a77ec commit b88fb7f

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/build-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
runs-on: ubuntu-22.04
2020
steps:
2121
- name: Code Checkout
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@v3
2323

2424
- name: Fetch build artifacts
25-
uses: actions/download-artifact@v2
25+
uses: actions/download-artifact@v3
2626

2727
- name: List assets
2828
run: ls -al Betaflight-*/*

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ jobs:
3232
os: windows-2022
3333
releaseArgs: --win64
3434
steps:
35-
- uses: actions/checkout@v2
35+
- uses: actions/checkout@v3
3636

3737
- name: Cache NW.js
38-
uses: actions/cache@v2
38+
uses: actions/cache@v3
3939
with:
4040
path: cache/
4141
key: ${{ runner.os }}-${{ hashFiles('gulpfile.js') }}
4242

4343
- name: Install Node.js
44-
uses: actions/setup-node@v2
44+
uses: actions/setup-node@v3
4545
with:
4646
node-version-file: '.nvmrc'
4747
cache: yarn
@@ -55,7 +55,7 @@ jobs:
5555
if: ${{ inputs.debug_build }}
5656

5757
- name: Publish build artifacts
58-
uses: actions/upload-artifact@v2
58+
uses: actions/upload-artifact@v3
5959
with:
6060
name: Betaflight-Blackbox-Explorer${{ inputs.debug_build == 'true' && '-Debug' || '' }}-${{ matrix.name }}
6161
path: release/

.github/workflows/nightly.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,22 @@ jobs:
3131
runs-on: ubuntu-22.04
3232
steps:
3333
- name: Fetch build artifacts
34-
uses: actions/download-artifact@v2
34+
uses: actions/download-artifact@v3
3535
with:
3636
path: release-assets/
3737

3838
- name: Select release notes
3939
id: notes
4040
run: |
4141
set -- release-assets/Betaflight-Blackbox-Explorer-Debug-*
42-
echo "::set-output name=notes::$(test -e "$1" && echo '${{ env.debugReleaseNotes }}' || echo '${{ env.releaseNotes }}')"
42+
echo "notes=$(test -e "$1" && echo '${{ env.debugReleaseNotes }}' || echo '${{ env.releaseNotes }}')" >> $GITHUB_OUTPUT
4343
4444
- name: Get current date
4545
id: date
46-
run: echo "::set-output name=today::$(date '+%Y%m%d')"
46+
run: echo "today=$(date '+%Y%m%d')" >> $GITHUB_OUTPUT
4747

4848
- name: Release
49-
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5 # v0.1.14
49+
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v0.1.15
5050
with:
5151
token: ${{ secrets.REPO_TOKEN }}
5252
repository: ${{ env.repoNightly }}

0 commit comments

Comments
 (0)