Skip to content
This repository was archived by the owner on May 15, 2024. It is now read-only.

Commit 9e3af3e

Browse files
committed
config github actions build
1 parent 036b7fb commit 9e3af3e

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
name: build
44

55
on:
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

1313
jobs:
@@ -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

ktorm-ksp.version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1.0.0-RC

0 commit comments

Comments
 (0)