From e10e1ca310366ed658ad7c61214126f9e60b6c20 Mon Sep 17 00:00:00 2001 From: Yannick Richter Date: Fri, 15 Nov 2024 13:29:55 +0100 Subject: [PATCH] Github actions update --- .github/actions/build-firmware/action.yml | 4 ++-- .github/workflows/build-firmware.yml | 4 ++-- .github/workflows/release.yml | 10 +++++----- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/actions/build-firmware/action.yml b/.github/actions/build-firmware/action.yml index 0dcd2b343..3a4a42ed8 100644 --- a/.github/actions/build-firmware/action.yml +++ b/.github/actions/build-firmware/action.yml @@ -22,7 +22,7 @@ runs: #- uses: actions/checkout@v2 - name: "Check toolchain exists" id: check_tc - uses: andstor/file-existence-action@v2 + uses: andstor/file-existence-action@v3 with: files: "/tmp/armtc,/usr/share/arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-eabi" allow_failure: false @@ -33,7 +33,7 @@ runs: run: mkdir -p /tmp/armtc # make temp directory # Setup toolchain - - uses: actions/cache@v2 + - uses: actions/cache@v4 id: cache if: steps.check_tc.outputs.files_exists != 'true' with: diff --git a/.github/workflows/build-firmware.yml b/.github/workflows/build-firmware.yml index 599c0ad3b..d3e3377b1 100644 --- a/.github/workflows/build-firmware.yml +++ b/.github/workflows/build-firmware.yml @@ -31,11 +31,11 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - {uses: ./.github/actions/build-firmware, with: {target: '${{ matrix.target }}', path: 'Output'}} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: OpenFFBoard-Firmware-${{ matrix.target }} path: ./Firmware/Output diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2d7ae6062..688b47c28 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,12 +22,12 @@ jobs: strategy: fail-fast: false matrix: - conf: [ {os: 'windows-latest', pyver: '3.8'},{os: 'windows-latest', pyver: '3.11'}, {os: 'macos-latest', pyver: '3.10'}] + conf: [ {os: 'windows-latest', pyver: '3.8'},{os: 'windows-latest', pyver: '3.12'}, {os: 'macos-latest', pyver: '3.11'}] # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: 'true' @@ -39,7 +39,7 @@ jobs: path: '${{ github.workspace }}/Configurator' python-version: '${{ matrix.conf.pyver }}' - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: OpenFFBoard-Configurator-${{ matrix.conf.os }}-py${{ matrix.conf.pyver }} path: ${{ steps.build_c.outputs.distpath }} @@ -52,12 +52,12 @@ jobs: runs-on: ubuntu-latest #if: github.event.base_ref == 'refs/heads/master' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: 'true' # Download artifacts for release - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: path: etc/usr/artifacts/