Skip to content

Set version to 0.0.1 (until createRelease tests) #18

Set version to 0.0.1 (until createRelease tests)

Set version to 0.0.1 (until createRelease tests) #18

Workflow file for this run

name: Java CI
on:
push:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up JDK 21
uses: actions/[email protected]
with:
java-version: 21
distribution: corretto
- name: Read/Write Properties File
uses: kurt-code/[email protected]
id: read-properties
with:
operation: 'read'
file-path: 'src/main/resources/application.properties'
keys: 'trivysummary.version'
- name: Get the Read properties
run: |
echo "version: ${{ steps.read-properties.outputs.trivysummary_version }}"
- name: Build with Gradle
run: gradle distZip publish -Pmvnpub.user="${{ secrets.MAVENREPO_USER }}" -Pmvnpub.key="${{ secrets.MAVENREPO_TOKEN }}" --warning-mode all