Skip to content

Commit 576d9c4

Browse files
committed
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.
1 parent f91242c commit 576d9c4

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/test-pull-request.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,13 @@ jobs:
2929
- uses: codecov/codecov-action@v3
3030
with:
3131
directory: coverage
32+
- name: Set env to labs
33+
run: |
34+
echo "REACT_APP_NAME=Pybricks Labs" >> $GITHUB_ENV
35+
echo "REACT_APP_SUFFIX=-labs" >> $GITHUB_ENV
36+
echo "REACT_APP_VERSION=$GITHUB_SHA" >> $GITHUB_ENV
3237
- run: yarn build
38+
- uses: actions/upload-artifact@v6
39+
with:
40+
name: pybricks-labs
41+
path: build

0 commit comments

Comments
 (0)