Skip to content

Commit 71b9b36

Browse files
committed
Github actions update
1 parent 0285152 commit 71b9b36

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

.github/actions/build-firmware/action.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,17 @@ runs:
2222
#- uses: actions/checkout@v2
2323
- name: "Check toolchain exists"
2424
id: check_tc
25-
uses: andstor/file-existence-action@v2
25+
uses: andstor/file-existence-action@v3
2626
with:
2727
files: "/tmp/armtc,/usr/share/arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-eabi"
28-
allow_failure: false
2928

3029
- name: Make temp dir
3130
if: steps.check_tc.outputs.files_exists != 'true'
3231
shell: bash
3332
run: mkdir -p /tmp/armtc # make temp directory
3433

3534
# Setup toolchain
36-
- uses: actions/cache@v2
35+
- uses: actions/cache@v4
3736
id: cache
3837
if: steps.check_tc.outputs.files_exists != 'true'
3938
with:

.github/workflows/build-firmware.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ jobs:
3131
# Steps represent a sequence of tasks that will be executed as part of the job
3232
steps:
3333
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
34-
- uses: actions/checkout@v3
34+
- uses: actions/checkout@v4
3535

3636
- {uses: ./.github/actions/build-firmware, with: {target: '${{ matrix.target }}', path: 'Output'}}
3737

38-
- uses: actions/upload-artifact@v3
38+
- uses: actions/upload-artifact@v4
3939
with:
4040
name: OpenFFBoard-Firmware-${{ matrix.target }}
4141
path: ./Firmware/Output

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ jobs:
2222
strategy:
2323
fail-fast: false
2424
matrix:
25-
conf: [ {os: 'windows-latest', pyver: '3.8'},{os: 'windows-latest', pyver: '3.11'}, {os: 'macos-latest', pyver: '3.10'}]
25+
conf: [ {os: 'windows-latest', pyver: '3.8'},{os: 'windows-latest', pyver: '3.12'}, {os: 'macos-latest', pyver: '3.11'}]
2626

2727
# Steps represent a sequence of tasks that will be executed as part of the job
2828
steps:
2929
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
30-
- uses: actions/checkout@v3
30+
- uses: actions/checkout@v4
3131
with:
3232
submodules: 'true'
3333

@@ -39,7 +39,7 @@ jobs:
3939
path: '${{ github.workspace }}/Configurator'
4040
python-version: '${{ matrix.conf.pyver }}'
4141

42-
- uses: actions/upload-artifact@v3
42+
- uses: actions/upload-artifact@v4
4343
with:
4444
name: OpenFFBoard-Configurator-${{ matrix.conf.os }}-py${{ matrix.conf.pyver }}
4545
path: ${{ steps.build_c.outputs.distpath }}
@@ -52,12 +52,12 @@ jobs:
5252
runs-on: ubuntu-latest
5353
#if: github.event.base_ref == 'refs/heads/master'
5454
steps:
55-
- uses: actions/checkout@v3
55+
- uses: actions/checkout@v4
5656
with:
5757
submodules: 'true'
5858

5959
# Download artifacts for release
60-
- uses: actions/download-artifact@v3
60+
- uses: actions/download-artifact@v4
6161
with:
6262
path: etc/usr/artifacts/
6363

0 commit comments

Comments
 (0)