Browse Source

setup github actions

Signed-off-by: weisj <weisj@arcor.de>
pull/15/head
Jannis Weis 5 years ago committed by weisj
parent
commit
3d6f08bbd6
  1. 2
      .github/workflows/gradle.yml
  2. 1
      build.gradle

2
.github/workflows/gradle.yml

@ -20,4 +20,4 @@ jobs:
repoPassword : '${{secrets.deployRepoPassword}}' repoPassword : '${{secrets.deployRepoPassword}}'
signPassword : '${{secrets.SIGNING_PASSWORD}}' signPassword : '${{secrets.SIGNING_PASSWORD}}'
signKey : '${{secrets.SIGNING_KEY}}' signKey : '${{secrets.SIGNING_KEY}}'
run: ./gradlew build -PdeployRepoUrl=${repoUrl} -PdeployRepoUsername=${repoUsername} -PdeployRepoPassword=${repoPassword} -PsigningPassword=${signPassword} -PsigningKey=${signKey} run: ./gradlew build -PdeployRepoUrl='${{secrets.deployRepoUrl}}' -PdeployRepoUsername='${{secrets.deployRepoUsername}}' -PdeployRepoPassword='${{secrets.deployRepoPassword}}' -PsigningPassword='${{secrets.SIGNING_PASSWORD}}' -PsigningKey='${{secrets.SIGNING_KEY}}'

1
build.gradle

@ -202,6 +202,7 @@ tasks.withType(JavaCompile) {
task copyLibraries(type: Copy) { task copyLibraries(type: Copy) {
dependsOn('jniplatformX64SharedLibrary', 'jniplatformX86SharedLibrary') dependsOn('jniplatformX64SharedLibrary', 'jniplatformX86SharedLibrary')
println "Copying libraries"
from "${buildDir}/libs/jniplatform/shared" from "${buildDir}/libs/jniplatform/shared"
into "${projectDir}/src/main/resources/com/github/weisj/darklaf/platform/windows" into "${projectDir}/src/main/resources/com/github/weisj/darklaf/platform/windows"
} }

Loading…
Cancel
Save