Skip to content

wip

wip #5

Workflow file for this run

name: 'wip'
#
# Used to debug actions
#
on:
workflow_dispatch:
inputs:
V1:
description: 'The just released version'
required: true
type: string
permissions:
contents: read
jobs:
#
#
publish-gradle-plugin:
runs-on: ubuntu-latest
env:
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET}}
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY}}
steps:
- name: set up java
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b
with:
distribution: 'temurin'
java-version: |
17
- name: Git Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
ref: next
- name: publish
run: |
mkdir -p ~/.gradle/
echo "gradle.publish.key=$GRADLE_PUBLISH_KEY" >~/.gradle/gradle.properties
echo "gradle.publish.secret=$GRADLE_PUBLISH_SECRET" >>~/.gradle/gradle.properties
cd gradle-plugins/biz.aQute.bnd.gradle
../gradlew clean
../gradlew build
../gradlew publishPlugins --validate-only -Pgradle.publish.key=$GRADLE_PUBLISH_KEY -Pgradle.publish.secret=$GRADLE_PUBLISH_SECRET