Add support for Circuitpython 10 #23
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release Actions | |
| on: | |
| release: | |
| types: [published] | |
| jobs: | |
| upload-release-assets: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Dump GitHub context | |
| env: | |
| GITHUB_CONTEXT: ${{ toJson(github) }} | |
| run: echo "$GITHUB_CONTEXT" | |
| - name: Set up Python 3.9 | |
| uses: actions/setup-python@v1 | |
| with: | |
| python-version: 3.9 | |
| - name: Versions | |
| run: | | |
| python3 --version | |
| - uses: actions/checkout@v1 | |
| with: | |
| submodules: true | |
| - name: Install deps | |
| run: | | |
| pip install -r requirements-dev.txt | |
| - name: Build assets | |
| run: | | |
| python3 build.py | |
| - name: Upload Release Assets | |
| # the 'official' actions version does not yet support dynamically | |
| # supplying asset names to upload. @csexton's version chosen based on | |
| # discussion in the issue below, as its the simplest to implement and | |
| # allows for selecting files with a pattern. | |
| # https://github.com/actions/upload-release-asset/issues/4 | |
| #uses: actions/[email protected] | |
| uses: csexton/release-asset-action@master | |
| with: | |
| pattern: "_build/release/*" | |
| github-token: ${{ secrets.GITHUB_TOKEN }} |