Skip to content

Commit

Permalink
Fix errors with dependency graph
Browse files Browse the repository at this point in the history
  • Loading branch information
Com6235 committed Apr 30, 2024
1 parent 6df3645 commit 11c6018
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
contents: write
packages: write
steps:
- name: Checkout
Expand All @@ -30,3 +30,4 @@ jobs:
run: ./gradlew publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
IS_CI: "true"
6 changes: 4 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ publishing {
}

signing {
useGpgCmd()
sign(publishing.publications["kotlin"])
if (System.getenv("IS_CI") == null) {
useGpgCmd()
sign(publishing.publications["kotlin"])
}
}

0 comments on commit 11c6018

Please sign in to comment.