Skip to content

Commit

Permalink
Github publishing #2
Browse files Browse the repository at this point in the history
  • Loading branch information
gershnik committed Nov 2, 2023
1 parent d09cf46 commit 26b8f04
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ jobs:
name: ${{ env.RELEASE_NAME }}
body: ...edit me...
files: |
SimpleJNI-${{ env.RELEASE_NAME }}-cpp-only.zip
SimpleJNI-${{ env.RELEASE_NAME }}-jnigen.zip
build/SimpleJNI-${{ env.RELEASE_NAME }}-cpp-only.zip
build/SimpleJNI-${{ env.RELEASE_NAME }}-jnigen.zip
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ PUBLIC
)


if (PROJECT_IS_TOP_LEVEL)
if (PROJECT_IS_TOP_LEVEL AND IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/tests)

add_subdirectory(tests)

Expand Down
6 changes: 3 additions & 3 deletions jnigen/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ tasks.register<Zip>("bundleCpp") {
into("inc")
}
from("../CMakeLists.txt",
"../COPYRIGHT.txt",
"../LICENSE.txt",
"../NOTICE.txt",
"../VERSION",
"../LICENSE",
"../NOTICE",
"../README.md")

archiveFileName.set("SimpleJNI-${project.version}-cpp-only.zip")
Expand Down

0 comments on commit 26b8f04

Please sign in to comment.