Skip to content

Commit

Permalink
Github actions update
Browse files Browse the repository at this point in the history
  • Loading branch information
Ultrawipf committed Nov 15, 2024
1 parent 0285152 commit e10e1ca
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/actions/build-firmware/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-firmware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand All @@ -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 }}
Expand All @@ -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/

Expand Down

0 comments on commit e10e1ca

Please sign in to comment.