Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/publish-release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@ jobs:
# only run if `check-tag` completes successfully
needs: check-tag
runs-on: ubuntu-latest
permissions:
content: write
steps:
# TODO: replace with artifact upload/download -- make sure there's no race condition with other builds also
# uploaading an artifact.
# uploading an artifact.
- uses: actions/checkout@v3
with:
submodules: recursive
Expand All @@ -54,7 +56,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# TODO - reusability
# the location of the library(s) should be configurable as an input
# parameter rather than being hard coded as `build/lib/ion-java...`
# parameter rather than being hard coded as `build/libs/ion-java...`
# It may also need to be able to upload more than one file.
run: |
gh release upload "v$(<project.version)" "build/libs/ion-java-$(<project.version).jar"
Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ tasks {
}

cyclonedxBom {
setIncludeConfigs(listOf("runtimeClasspath"))
setSkipConfigs(listOf("compileClasspath", "testCompileClasspath"))
dependsOn(jar)
includeConfigs.set(listOf("runtimeClasspath"))
}
}

Expand Down
2 changes: 1 addition & 1 deletion ion-java-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The package is stored under `ion-java/ion-java-cli`.
## Setup
Build ion-java-cli.
```
./gradle ion-java-cli:build
./gradlew ion-java-cli:build
```

## Getting Started
Expand Down