-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Group python and java workflows * Correct dev snapshot trigger * Update workflow names
- Loading branch information
1 parent
4aa5809
commit 9f2fa80
Showing
8 changed files
with
59 additions
and
93 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
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
.github/workflows/dev-release-grpc-service-pypi-publish.yml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,33 @@ | ||
name: Build and publish dev-release Java distributions to sonatype and python to PyPi. | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
uses: th2-net/.github/.github/workflows/compound-java.yml@main | ||
with: | ||
build-target: 'Sonatype' | ||
runsOn: ubuntu-latest | ||
devRelease: true | ||
createTag: true | ||
secrets: | ||
sonatypeUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }} | ||
sonatypePassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} | ||
sonatypeSigningKey: ${{ secrets.SONATYPE_GPG_ARMORED_KEY }} | ||
sonatypeSigningPassword: ${{ secrets.SONATYPE_SIGNING_PASSWORD }} | ||
nvd-api-key: ${{ secrets.NVD_APIKEY }} | ||
collect-version: | ||
name: Get version from gradle.properties | ||
uses: th2-net/.github/.github/workflows/compound-prebuild-java-dev-workflow.yml@main | ||
build-n-publish: | ||
name: Dev build and Python distributions to PyPI | ||
needs: [collect-version] | ||
uses: th2-net/.github/.github/workflows/compaund-python-grpc-pypi-publication.yml@main | ||
with: | ||
custom-version: ${{ needs.collect-version.outputs.versionNumber }}rc1 | ||
secrets: | ||
pypi_password: ${{ secrets.PYPI_PASSWORD }} | ||
scan: | ||
name: Vulnerabilities scan | ||
uses: th2-net/.github/.github/workflows/python-scan.yml@main |
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 was deleted.
Oops, something went wrong.
18 changes: 11 additions & 7 deletions
18
.github/workflows/java-publish-sonatype.yml → .github/workflows/release.yml
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 |
---|---|---|
@@ -1,23 +1,27 @@ | ||
name: Build and release Java distributions to sonatype. | ||
name: Build and release Java distributions to sonatype and python to PyPi | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- version-* | ||
paths: | ||
- gradle.properties | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
uses: th2-net/.github/.github/workflows/compound-java.yml@main | ||
with: | ||
build-target: 'Sonatype' | ||
runsOn: ubuntu-latest | ||
devRelease: false | ||
createTag: true | ||
secrets: | ||
sonatypeUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }} | ||
sonatypePassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} | ||
sonatypeSigningKey: ${{ secrets.SONATYPE_GPG_ARMORED_KEY }} | ||
sonatypeSigningPassword: ${{ secrets.SONATYPE_SIGNING_PASSWORD }} | ||
nvd-api-key: ${{ secrets.NVD_APIKEY }} | ||
build-n-publish: | ||
name: Build and Python distributions to PyPI | ||
uses: th2-net/.github/.github/workflows/compaund-python-grpc-pypi-publication.yml@main | ||
secrets: | ||
pypi_password: ${{ secrets.PYPI_PASSWORD }} | ||
scan: | ||
name: Vulnerabilities scan | ||
uses: th2-net/.github/.github/workflows/python-scan.yml@main |