Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Update actions to resolve workflow run failure. #807

Merged
merged 1 commit into from
Sep 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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