CI: Badger2040W: Fix deprecation warnings.

feature/badger2040w
Phil Howard 2023-01-16 11:31:27 +00:00 zatwierdzone przez Phil Howard
rodzic e859b39e11
commit d1646e5d76
1 zmienionych plików z 8 dodań i 8 usunięć

Wyświetl plik

@ -19,7 +19,7 @@ jobs:
steps: steps:
- name: Workspace Cache - name: Workspace Cache
id: cache id: cache
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ${{runner.workspace}} path: ${{runner.workspace}}
key: workspace-micropython-${{env.MICROPYTHON_VERSION}} key: workspace-micropython-${{env.MICROPYTHON_VERSION}}
@ -29,7 +29,7 @@ jobs:
# Check out MicroPython # Check out MicroPython
- name: Checkout MicroPython - name: Checkout MicroPython
if: steps.cache.outputs.cache-hit != 'true' if: steps.cache.outputs.cache-hit != 'true'
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
repository: micropython/micropython repository: micropython/micropython
ref: ${{env.MICROPYTHON_VERSION}} ref: ${{env.MICROPYTHON_VERSION}}
@ -61,7 +61,7 @@ jobs:
steps: steps:
- name: Compiler Cache - name: Compiler Cache
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: /home/runner/.ccache path: /home/runner/.ccache
key: ccache-micropython-badger2040w-${{github.ref}}-${{github.sha}} key: ccache-micropython-badger2040w-${{github.ref}}-${{github.sha}}
@ -70,20 +70,20 @@ jobs:
ccache-micropython-badger2040w- ccache-micropython-badger2040w-
- name: Workspace Cache - name: Workspace Cache
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ${{runner.workspace}} path: ${{runner.workspace}}
key: workspace-micropython-${{env.MICROPYTHON_VERSION}} key: workspace-micropython-${{env.MICROPYTHON_VERSION}}
restore-keys: | restore-keys: |
workspace-micropython-${{env.MICROPYTHON_VERSION}} workspace-micropython-${{env.MICROPYTHON_VERSION}}
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
submodules: true submodules: true
path: pimoroni-pico-${{ github.sha }} path: pimoroni-pico-${{ github.sha }}
# Check out dir2u2f # Check out dir2u2f
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
repository: gadgetoid/dir2uf2 repository: gadgetoid/dir2uf2
ref: v0.0.1 ref: v0.0.1
@ -130,13 +130,13 @@ jobs:
./dir2uf2/dir2uf2 --append-to micropython/ports/rp2/build-${{env.BOARD_TYPE}}/${{env.RELEASE_FILE}}.uf2 --manifest pimoroni-pico-${{ github.sha }}/micropython/examples/badger2040w/uf2-manifest.txt --filename with-examples.uf2 pimoroni-pico-${{ github.sha }}/micropython/examples/badger2040w/ ./dir2uf2/dir2uf2 --append-to micropython/ports/rp2/build-${{env.BOARD_TYPE}}/${{env.RELEASE_FILE}}.uf2 --manifest pimoroni-pico-${{ github.sha }}/micropython/examples/badger2040w/uf2-manifest.txt --filename with-examples.uf2 pimoroni-pico-${{ github.sha }}/micropython/examples/badger2040w/
- name: Store .uf2 as artifact - name: Store .uf2 as artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: ${{env.RELEASE_FILE}}.uf2 name: ${{env.RELEASE_FILE}}.uf2
path: micropython/ports/rp2/build-${{env.BOARD_TYPE}}/${{env.RELEASE_FILE}}.uf2 path: micropython/ports/rp2/build-${{env.BOARD_TYPE}}/${{env.RELEASE_FILE}}.uf2
- name: Store .uf2 + examples as artifact - name: Store .uf2 + examples as artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: ${{env.RELEASE_FILE}}-with-examples.uf2 name: ${{env.RELEASE_FILE}}-with-examples.uf2
path: ${{env.RELEASE_FILE}}-with-examples.uf2 path: ${{env.RELEASE_FILE}}-with-examples.uf2