Skip to content

Commit 8bd2107

Browse files
authored
feat: ✨ Setup build action
1 parent a3a784d commit 8bd2107

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/build.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: PROS Build Template
2+
3+
on:
4+
push:
5+
branches: "**"
6+
pull_request:
7+
branches: "**"
8+
9+
workflow_dispatch:
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Run LemLib/pros-build
19+
id: test
20+
uses: ZestCommunity/[email protected]
21+
22+
- name: Upload Artifact
23+
uses: actions/upload-artifact@v4
24+
continue-on-error: true # The main point of this is to build the monolith file, not to try and upload it. Therefore, the action shouldn't fail if something were to be changed in the future that would cause this step to fail. (Especially considering ZestCode is still in development and this may very well change.
25+
with:
26+
name: ${{ steps.test.outputs.name }}
27+
path: ${{ github.workspace }}/build/program.bin

0 commit comments

Comments
 (0)