This repository was archived by the owner on May 15, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 33name : build
44
55on :
6- push :
7- pull_request :
8- types : [opened, synchronize, reopened]
9- release :
10- types : [published]
6+ push :
7+ pull_request :
8+ types : [ opened, synchronize, reopened ]
9+ release :
10+ types : [ published ]
1111
1212
1313jobs :
@@ -16,25 +16,25 @@ jobs:
1616 steps :
1717 - name : Checkout Code
1818 uses : actions/checkout@v3
19-
19+
2020 - name : Setup Java
2121 uses : actions/setup-java@v3
2222 with :
23- distribution : ' zulu'
23+ distribution : ' zulu'
2424 java-version : ' 11'
25-
25+
2626 - name : Setup Gradle
2727 uses : gradle/gradle-build-action@v2
28-
28+
2929 - name : Assemble the Project
3030 run : ./gradlew assemble
3131
3232 - name : Run Tests
3333 run : ./gradlew check
34-
34+
3535 - name : Publish Artifacts
3636 run : |
37- if [[ $(cat "ktorm.version") =~ "SNAPSHOT" ]] ; then
37+ if [[ $(cat "ktorm-ksp .version") =~ "SNAPSHOT" ]] ; then
3838 ./gradlew publishDistPublicationToSnapshotRepository
3939 else
4040 if [[ $GITHUB_EVENT_NAME == "release" ]] ; then
Original file line number Diff line number Diff line change 1+ 1.0.0-RC
You can’t perform that action at this time.
0 commit comments