-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use scoreboards.json (authored in Brilliance) to determine which obje…
…ctives to store
- Loading branch information
Showing
8 changed files
with
3,215 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,17 @@ jobs: | |
if: ${{ runner.os != 'Windows' }} | ||
run: chmod +x ./gradlew | ||
|
||
- name: download scoreboard.json from brilliance | ||
uses: robinraju/[email protected] | ||
with: | ||
repository: 'trackedout/Brilliance' | ||
latest: true | ||
fileName: 'scoreboards.json' | ||
out-file-path: 'Brilliance' | ||
|
||
- name: copy scoreboards.json | ||
run: cp Brilliance/scoreboard.json src/main/resources/assets/agronet/scoreboards.json | ||
|
||
- name: build | ||
run: ./gradlew build | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
src/main/kotlin/org/trackedout/data/BrillianceScoreboards.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package org.trackedout.data | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class BrillianceScoreboardDescription( | ||
val auto: Int, | ||
val target: String, | ||
val category: String, | ||
val description: String, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.