github: upload build artifact

Add a step to upload the build artifact after building the project.

This will make it easy for people to test it without having to build it
themselves.
This commit is contained in:
David Lechner
2026-01-25 14:30:05 -06:00
parent 368ab7cb96
commit fa275b8000
+9
View File
@@ -29,4 +29,13 @@ jobs:
- uses: codecov/codecov-action@v3
with:
directory: coverage
- name: Set env to labs
run: |
echo "REACT_APP_NAME=Pybricks Labs" >> $GITHUB_ENV
echo "REACT_APP_SUFFIX=-labs" >> $GITHUB_ENV
echo "REACT_APP_VERSION=$GITHUB_SHA" >> $GITHUB_ENV
- run: yarn build
- uses: actions/upload-artifact@v6
with:
name: pybricks-labs
path: build