-
Notifications
You must be signed in to change notification settings - Fork 36
62 lines (49 loc) · 1.82 KB
/
publish-stable-on-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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Publish stable version to the Marketplace
on:
release:
types: [released]
jobs:
# check-for-tests-success:
# runs-on: ubuntu-latest
# permissions:
# actions: write
#
# steps:
# - name: Early exit if tests wasn't successful
# if: ${{ github.event.workflow_run.conclusion != 'success' }}
# run: |
# gh run cancel ${{ github.run_id }}
# gh run watch ${{ github.run_id }}
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
publish-eap-channel:
# needs: [ check-for-tests-success ]
strategy:
matrix:
gradle-properties-version: [ 242, 243 ]
runs-on: ubuntu-latest
env:
ORG_GRADLE_PROJECT_shortPlatformVersion: ${{ matrix.gradle-properties-version }}
JB_PUB_TOKEN: ${{ secrets.JB_PUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- name: Free disk space in the runner before build
uses: jlumbroso/free-disk-space@main
with:
# removes 5.7GB of android SDK only
tool-cache: false
android: true
dotnet: false
haskell: false
large-packages: false
docker-images: false
swap-storage: false
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 21
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Publish plugin
run: ./gradlew publishPlugin --stacktrace -Pkotlin.incremental=false