Skip to content

Commit

Permalink
ci: Update actions to resolve job run failure. (#807)
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-carlos authored Sep 16, 2024
1 parent 8c7cc72 commit 359fd6b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
runs-on: ubuntu-20.04
name: Build MicroPython
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
# Yotta has some issues with Python 3.7+
- name: Install Python 3.6
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: 3.6
- name: Install GNU Arm Embedded Toolchain (arm-none-eabi-gcc)
Expand All @@ -41,9 +41,9 @@ jobs:
- run: make all
- name: Process date for artifact filename
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
run: echo "BUILD_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
- name: Upload hex file
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: microbitv1-micropython-${{ steps.date.outputs.date }}-${{ github.sha }}.hex
name: microbitv1-micropython-${{ env.BUILD_DATE }}-${{ github.sha }}.hex
path: build/firmware.hex

0 comments on commit 359fd6b

Please sign in to comment.