From b33aa7adaa6089f578c6a7cfca5fce16db981fab Mon Sep 17 00:00:00 2001 From: Mason-Lam <97353903+Mason-Lam@users.noreply.github.com> Date: Sun, 26 Nov 2023 21:41:13 -0800 Subject: [PATCH] Setup Repo for release v0.0.7 --- .github/workflows/gradleCI.yml | 17 ++++++++++++++++- .github/workflows/gradleRelease.yml | 16 ++++++++-------- gradle.properties | 2 +- src/main/resources/overview.html | 2 +- 4 files changed, 26 insertions(+), 11 deletions(-) diff --git a/.github/workflows/gradleCI.yml b/.github/workflows/gradleCI.yml index 34c78e4..f851556 100644 --- a/.github/workflows/gradleCI.yml +++ b/.github/workflows/gradleCI.yml @@ -26,4 +26,19 @@ jobs: uses: actions/upload-artifact@v3 with: name: Generated Files - path: ./build/libs/* \ No newline at end of file + path: ./build/libs/* + + generateJSON: + needs: build + + runs-on: ubuntu-latest + + steps: + - name: Generate 3128-common.json + run: './gradlew vendorJSON' + + - name: Commit 3128-common.json + uses: EndBug/add-and-commit@v9.1.3 + with: + add: './3128-common.json' + message: 'Automated - Update 3128-common.json for release' \ No newline at end of file diff --git a/.github/workflows/gradleRelease.yml b/.github/workflows/gradleRelease.yml index fca34f6..70b51cf 100644 --- a/.github/workflows/gradleRelease.yml +++ b/.github/workflows/gradleRelease.yml @@ -76,14 +76,14 @@ jobs: java-version: 11 cache: gradle - - name: Generate 3128-common.json - run: './gradlew vendorJSON' - - - name: Commit 3128-common.json - uses: EndBug/add-and-commit@v9.1.3 - with: - add: './3128-common.json' - message: 'Automated - Update 3128-common.json for release' + # - name: Generate 3128-common.json + # run: './gradlew vendorJSON' + + # - name: Commit 3128-common.json + # uses: EndBug/add-and-commit@v9.1.3 + # with: + # add: './3128-common.json' + # message: 'Automated - Update 3128-common.json for release' - name: Upload 3128-common.json to Release id: upload-release-asset diff --git a/gradle.properties b/gradle.properties index dbff1ce..432752d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -LibraryVersion=0.0.6 +LibraryVersion=0.0.7 archivesGroup = com.github.Team3128 archivesBaseName = 3128-common jsonFileName = 3128-common.json diff --git a/src/main/resources/overview.html b/src/main/resources/overview.html index 3cb1763..f6c08eb 100644 --- a/src/main/resources/overview.html +++ b/src/main/resources/overview.html @@ -8,5 +8,5 @@

FRC Team 3128 Robot Control Program Utility Library

Provides utility classes and functions for FRC robot control programs.

-

Version 0.0.6 (September 18 2023)

+

Version 0.0.7 (September 18 2023)

\ No newline at end of file