-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (31 loc) · 1.2 KB
/
dev-release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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