From 1e931d8987e9e20327b42d29fea85c99afd6abf8 Mon Sep 17 00:00:00 2001 From: Jonathan Dao Date: Mon, 13 Jan 2025 23:59:06 -0800 Subject: [PATCH] Fixed publishing issues --- .github/workflows/ci.yml | 14 -------------- frc4201Codex.json | 18 +++++++++++------- publish.gradle | 2 +- 3 files changed, 12 insertions(+), 22 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6a9e6cf..7ef9821 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -91,20 +91,6 @@ jobs: name: ${{ matrix.artifact-name }} path: build/allOutputs - vendordep: - name: Upload vendordep JSON - runs-on: ubuntu-24.04 - steps: - - uses: actions/checkout@v4 - with: - persist-credentials: false - token: ${{secrets.GITHUB_TOKEN}} - - - uses: actions/upload-artifact@v4 - with: - name: Codex-json - path: frc4201Codex.json - combine: name: Combine needs: [build-docker, build-host] diff --git a/frc4201Codex.json b/frc4201Codex.json index 3fd1f0d..5a4836b 100644 --- a/frc4201Codex.json +++ b/frc4201Codex.json @@ -13,16 +13,20 @@ "groupId": "org.team4201.codex", "artifactId": "codex-java", "version": "2025.0.1" - }, + } + ], + "requires": [ { - "groupId": "com.ctre.phoenix6", - "artifactId": "wpiapi-java", - "version": "25.1.0" + "uuid": "e995de00-2c64-4df5-8831-c1441420ff19", + "errorMessage": "Phoenix6 is required!", + "offlineFileName": "Phoenix6-25.1.0.json", + "onlineUrl": "https://maven.ctr-electronics.com/release/com/ctre/phoenix6/latest/Phoenix6-frc2025-latest.json" }, { - "groupId": "com.pathplanner.lib", - "artifactId": "PathplannerLib-java", - "version": "2025.1.1" + "uuid": "1b42324f-17c6-4875-8e77-1c312bc8c786", + "errorMessage": "PathPlanner is required!", + "offlineFileName": "PathplannerLib.json", + "onlineUrl": "https://3015rangerrobotics.github.io/pathplannerlib/PathplannerLib.json" } ], "jniDependencies": [] diff --git a/publish.gradle b/publish.gradle index 7095847..51674d5 100644 --- a/publish.gradle +++ b/publish.gradle @@ -9,7 +9,7 @@ def vendordepFilename = "frc4201Codex.json" def pubVersion = '2025.0.1' -def releasesRepoUrl = "repos" +def releasesRepoUrl = "Codex/repos" def outputsFolder = file("$buildDir/outputs")