From 5ac0752aeb3881c13545b4dc39d486f47544e587 Mon Sep 17 00:00:00 2001 From: Liam Teale Date: Tue, 18 Jun 2024 14:26:48 -0700 Subject: [PATCH 1/3] add pros-build workflow --- .github/workflows/pros-build.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/pros-build.yml diff --git a/.github/workflows/pros-build.yml b/.github/workflows/pros-build.yml new file mode 100644 index 0000000..12eef1f --- /dev/null +++ b/.github/workflows/pros-build.yml @@ -0,0 +1,29 @@ +name: PROS Build Example + +on: + push: + branches: "**" + pull_request: + branches: "**" + + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Run LemLib/pros-build + id: build-template + uses: LemLib/pros-build + with: + copy_readme_and_license_to_include: true + lib_folder_name: units + + - name: Upload Artifact + uses: actions/upload-artifact@v4 + with: + name: ${{ steps.build-template.outputs.name }} + path: ${{ github.workspace }}/template/* \ No newline at end of file From 043913569743b134609d4a1a3d99dcd7ca4fb23f Mon Sep 17 00:00:00 2001 From: Liam Teale Date: Tue, 18 Jun 2024 14:29:12 -0700 Subject: [PATCH 2/3] add explicit version to pros-build workflow --- .github/workflows/pros-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pros-build.yml b/.github/workflows/pros-build.yml index 12eef1f..fc3b0a1 100644 --- a/.github/workflows/pros-build.yml +++ b/.github/workflows/pros-build.yml @@ -17,7 +17,7 @@ jobs: - name: Run LemLib/pros-build id: build-template - uses: LemLib/pros-build + uses: LemLib/pros-build@v2.0.1 with: copy_readme_and_license_to_include: true lib_folder_name: units From ac1a13f42d5a03280229fabd3bec41684be1296e Mon Sep 17 00:00:00 2001 From: Liam Teale Date: Tue, 18 Jun 2024 14:29:30 -0700 Subject: [PATCH 3/3] change pros build workflow name --- .github/workflows/pros-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pros-build.yml b/.github/workflows/pros-build.yml index fc3b0a1..6deec5c 100644 --- a/.github/workflows/pros-build.yml +++ b/.github/workflows/pros-build.yml @@ -1,4 +1,4 @@ -name: PROS Build Example +name: Build Template on: push: