File tree Expand file tree Collapse file tree 3 files changed +22
-36
lines changed
Expand file tree Collapse file tree 3 files changed +22
-36
lines changed Original file line number Diff line number Diff line change 99 runs-on : macos-latest
1010 steps :
1111 - name : Checkout the repo
12- uses : actions/checkout@v2
12+ uses : actions/checkout@v4
1313
14- - uses : actions/setup-java@v2
14+ - uses : actions/setup-java@v4
1515 with :
1616 distribution : " adopt"
1717 java-version : " 17"
1818
19- - name : Validate Gradle Wrapper
20- uses : gradle/wrapper-validation-action@v1
19+ - name : Setup Gradle
20+ uses : gradle/actions/setup-gradle@v4
2121
2222 - name : Write Faktory Server Code
2323 run : echo ${{ secrets.TOUCHLAB_TEST_ARTIFACT_CODE }} > kmmbridge/TOUCHLAB_TEST_ARTIFACT_CODE
Original file line number Diff line number Diff line change @@ -4,28 +4,21 @@ on: workflow_dispatch
44jobs :
55 deploy :
66 runs-on : ubuntu-latest
7-
87 steps :
98 - name : Checkout the repo
10- uses : actions/checkout@v2
9+ uses : actions/checkout@v4
1110
12- - name : Validate Gradle Wrapper
13- uses : gradle/wrapper-validation-action@v1
11+ - name : Setup Gradle
12+ uses : gradle/actions/setup-gradle@v4
1413
15- - name : Cache gradle
16- uses : actions/cache@v2
14+ -
uses : touchlab/[email protected] 15+ id : version-name
1716 with :
18- path : ~/.gradle/caches
19- key : ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
20- restore-keys : |
21- ${{ runner.os }}-gradle-
17+ file : ./gradle.properties
18+ property : VERSION_NAME
2219
23- - name : Read version from gradle.properties
24- id : read_version
25- uses :
christian-draeger/[email protected] 26- with :
27- path : ' ./gradle.properties'
28- property : ' VERSION_NAME'
20+ - name : Echo Version
21+ run : echo "${{ steps.version-name.outputs.propVal }}"
2922
3023 - name : Publish Plugin
3124 run : ./gradlew publish --no-daemon --stacktrace --no-build-cache
Original file line number Diff line number Diff line change @@ -4,10 +4,17 @@ on: workflow_dispatch
44jobs :
55 release :
66 runs-on : ubuntu-latest
7-
87 steps :
98 - name : Checkout the repo
10- uses : actions/checkout@v3
9+ uses : actions/checkout@v4
10+
11+ - uses : actions/setup-java@v4
12+ with :
13+ distribution : " adopt"
14+ java-version : " 17"
15+
16+ - name : Setup Gradle
17+ uses : gradle/actions/setup-gradle@v4
1118
1219 -
uses :
touchlab/[email protected] 1320 id : version-name
1825 - name : Echo Version
1926 run : echo "${{ steps.version-name.outputs.propVal }}"
2027
21- - uses : actions/setup-java@v2
22- with :
23- distribution : " adopt"
24- java-version : " 17"
25- - name : Validate Gradle Wrapper
26- uses : gradle/wrapper-validation-action@v1
27- - name : Cache gradle
28- uses : actions/cache@v2
29- with :
30- path : ~/.gradle/caches
31- key : ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
32- restore-keys : |
33- ${{ runner.os }}-gradle-
34-
3528 - name : Finish Maven Central Release
3629 run : ./gradlew releaseRepository --no-daemon --stacktrace --no-build-cache
3730 env :
You can’t perform that action at this time.
0 commit comments