Skip to content

fixups

fixups #3

Workflow file for this run

name: Update examples.json
on:
# workflow_dispatch:
# inputs:
# develop:
# description: "Test with develop branch"
# required: false
# type: boolean
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.13
cache: 'pip'
cache-dependency-path: '.github/workflows/genExamples.yml'
- name: Install Dependencies
run: |
pip install pycryptodomex
- name: Cache ~/.pico-sdk
uses: actions/cache@v4
with:
path: ~/.pico-sdk
key: pico-sdk-${{ hashFiles('scripts/genExamples.py') }}
- name: Run genExamples.py
# env:
# SDK_VERSION: ${{ inputs.develop && '2-develop' || '' }}
run: |
python scripts/genExamples.py
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: examples.json
path: |
data/0.17.0/examples.json
- name: Print diff
run: |
git diff data/0.17.0/examples.json