mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-30 02:31:40 +00:00
Create combine job and offline vendordep ZIP (#1343)
* Create combine job * Update build.yml * Bump max workers in photonlib * Oops * actually kill entirely * Maybe fix test * Don't run tests * Update OpenCVTest.java * Update build.yml * Use upload-artifact@v4 * Update build.yml * Update build.yml
This commit is contained in:
@@ -79,10 +79,16 @@ publishing {
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
url(photonMavenURL)
|
||||
credentials {
|
||||
username 'ghactions'
|
||||
password System.getenv("ARTIFACTORY_API_KEY")
|
||||
// If we're trying to copy local outputs, just throw everything into build/maven
|
||||
// The problem here is we can't specify which repo to publish to easily, so we have to choose one or the other
|
||||
if (project.hasProperty('copyOfflineArtifacts')) {
|
||||
url(localMavenURL)
|
||||
} else {
|
||||
url(photonMavenURL)
|
||||
credentials {
|
||||
username 'ghactions'
|
||||
password System.getenv("ARTIFACTORY_API_KEY")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,7 +21,6 @@ task cppSourcesZip(type: Zip) {
|
||||
into '/'
|
||||
}
|
||||
|
||||
println("Sources: from $projectDir ")
|
||||
from("$projectDir/src/main/native/cpp") {
|
||||
into '/'
|
||||
}
|
||||
@@ -91,10 +90,16 @@ model {
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
url(photonMavenURL)
|
||||
credentials {
|
||||
username 'ghactions'
|
||||
password System.getenv("ARTIFACTORY_API_KEY")
|
||||
// If we're trying to copy local outputs, just throw everything into build/maven
|
||||
// The problem here is we can't specify which repo to publish to easily, so we have to choose one or the other
|
||||
if (project.hasProperty('copyOfflineArtifacts')) {
|
||||
url(localMavenURL)
|
||||
} else {
|
||||
url(photonMavenURL)
|
||||
credentials {
|
||||
username 'ghactions'
|
||||
password System.getenv("ARTIFACTORY_API_KEY")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user