-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setup release workflow for dbutils scala (#13)
* Setup release workflow for dbutils scala * generating source and doc jars * fmt
- Loading branch information
Showing
3 changed files
with
96 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Release | ||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Java for publishing to Maven Central Repository | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 8 | ||
server-id: ossrh | ||
distribution: "adopt" | ||
server-username: OSSRH_USERNAME | ||
server-password: OSSRH_PASSWORD | ||
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} | ||
gpg-passphrase: GPG_PASSPHRASE | ||
|
||
- name: Publish to the Maven Central Repository | ||
run: mvn -DskipTests=true --batch-mode deploy | ||
env: | ||
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} | ||
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} | ||
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} | ||
|
||
- name: Create GitHub release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: target/*.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
-----BEGIN PGP PRIVATE KEY BLOCK----- | ||
|
||
lIYEYrG+GhYJKwYBBAHaRw8BAQdAyVsro1W/bO8S/DQcCZIlY/d2N8IqZLFUvIYW | ||
44YRdx7+BwMCE0Kle/WaiJz7FIm8PpyhwHSU08Mw5uMGyFOBb9xgiVuXLwwyPa2I | ||
F/VNZi9SUbvXB48aC4kT5w/RjwpRroMjaCljwD2Fw/eTuoJCQWX0o7QiTWlsZXMg | ||
WXVjaHQgPG1pbGVzQGRhdGFicmlja3MuY29tPoiTBBMWCgA7FiEEuTs07YMgrzFk | ||
QsGXEP9eWKOmkr4FAmKxvhoCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AA | ||
CgkQEP9eWKOmkr7vwQD+JRhNiCX9+e8+ne/TpGanT7A90t+haKHoJmP46SLZNH0A | ||
/3axdvSIJUtH5YLro+wfTvj7ePdSqgeQFPnpLMild6IKnIsEYrG+GhIKKwYBBAGX | ||
VQEFAQEHQAFNIj6I1As8GdUQ/HH+nC886O6Ax75B2/TX5ADMKKhYAwEIB/4HAwK0 | ||
bJqlzjkK4fvuNBC+pcNfY4J6EeCLf/u08kesry8hPq38x7tv/7VWbadmoWxUwIkc | ||
VNDEbxL2WpuW4hCjq+gV8IggP7LxJa4/AKKw7hxCiHgEGBYKACAWIQS5OzTtgyCv | ||
MWRCwZcQ/15Yo6aSvgUCYrG+GgIbDAAKCRAQ/15Yo6aSvtGyAQC1KVUQeuQug4te | ||
s0wU6UYAUGhcxAuWrPj3YQwCpn3VtwD9Gec12xj2FgTX8iqA4GDRvgDSl0CuDIiV | ||
CdQyu5eXkQI= | ||
=+tlo | ||
-----END PGP PRIVATE KEY BLOCK----- |