Release #34
Workflow file for this run
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
--- | |
name: Release | |
on: | |
workflow_dispatch: | |
inputs: | |
java_version: | |
description: Java version to use | |
type: string | |
required: false | |
default: 17 | |
branch: | |
description: "The branch to checkout when cutting the release." | |
required: true | |
default: "479-command-line-distributions-shall-be-attached-to-github-releases" | |
releaseVersion: | |
description: "Default version to use when preparing a release." | |
required: true | |
default: "X.Y.Z" | |
developmentVersion: | |
description: "Default version to use for new local working copy." | |
required: true | |
default: "X.Y.Z-SNAPSHOT" | |
neo4j: | |
description: "Neo4j version to release" | |
type: string | |
required: true | |
default: 'cli/neo4jv?/target/*-distribution.zip' | |
dryRun: | |
description: "Perform a dry run" | |
required: true | |
default: false | |
type: boolean | |
jobs: | |
build: | |
uses: jqassistant-tooling/jqassistant-github-actions/.github/workflows/release.yml@neo4jRelease | |
with: | |
branch: ${{ github.event.inputs.branch }} | |
releaseVersion: ${{ github.event.inputs.releaseVersion }} | |
developmentVersion: ${{ github.event.inputs.developmentVersion }} | |
neo4j: ${{ github.event.inputs.neo4j }} | |
dryRun: ${{ github.event.inputs.dryRun }} | |
# releaseArtifacts: "cli/neo4jv?/target/*-distribution.zip" | |
secrets: | |
ossrh_username: ${{ secrets.OSSRH_USERNAME }} | |
ossrh_password: ${{ secrets.OSSRH_PASSWORD }} | |
ossrh_signing_key: ${{ secrets.OSSRH_SIGNING_KEY }} | |
ossrh_signing_password: ${{ secrets.OSSRH_SIGNING_PASSWORD }} | |
sonar_token: ${{ secrets.SONAR_TOKEN }} | |
unpack-artifacts: | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- name: Download Artifacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: artifacts | |
path: . | |
- name: Unpack Artifacts | |
run: | | |
unzip artifacts.zip | |
- name: Upload Neo4jv4 Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Commandline Utility Neo4jV4 | |
path: jqassistant-commandline-neo4jv4-${{ github.event.inputs.releaseVersion }}-distribution.zip | |
- name: Upload Neo4jv5 Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Commandline Utility Neo4jV5 | |
path: jqassistant-commandline-neo4jv5-${{ github.event.inputs.releaseVersion }}-distribution.zip |