Skip to content

Commit 23011ee

Browse files
committed
Sign archives
1 parent e23262a commit 23011ee

3 files changed

Lines changed: 13 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,6 @@ jobs:
2121
env:
2222
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
2323
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
24-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
26+
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ Reference implementation of an agent library written in Java. This library handl
99
* Extend the `AbstractChronosAgent` class, call `YourClass.start()` in your `main` method, and you are good to go!
1010
> Assuming that you already have a running [Chronos Control](https://github.com/Chronos-EaaS/Chronos-Control/) instance
1111
12-
>
1312

1413
## Roadmap
1514
See the [open issues](https://github.com/Chronos-EaaS/Chronos-Agent/issues) for a list of proposed features (and known issues).

build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ jar {
6868

6969
signing {
7070
required { gradle.taskGraph.hasTask("publish") }
71+
def signingKey = findProperty("signingKey")
72+
def signingPassword = findProperty("signingPassword")
73+
useInMemoryPgpKeys(signingKey, signingPassword)
7174
sign configurations.archives
7275
}
7376

@@ -94,6 +97,13 @@ publishing {
9497
scm {
9598
url = 'https://github.com/Chronos-EaaS/Chronos-Agent/'
9699
}
100+
developers {
101+
developer {
102+
id = 'chronos'
103+
name = 'Chronos'
104+
email = 'mail@chronos-eaas.org'
105+
}
106+
}
97107
}
98108
}
99109
}

0 commit comments

Comments
 (0)