-
-
Notifications
You must be signed in to change notification settings - Fork 301
50 lines (41 loc) · 1.18 KB
/
wip.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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