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:
Matt
2024-06-10 21:37:01 -04:00
committed by GitHub
parent 5289948b83
commit 655909cc84
9 changed files with 126 additions and 31 deletions

View File

@@ -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")
}
}
}
}

View File

@@ -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")
}
}
}
}