mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-07-28 04:08:05 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user