Skip to content

Commit 04ae8c3

Browse files
authored
Update main.yml
1 parent b878eeb commit 04ae8c3

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

.github/workflows/main.yml

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
1-
- name: Gradle Build Action
2-
# You may pin to the exact commit or the version.
3-
# uses: gradle/gradle-build-action@6c7537229bd2c28154565df1ba25a84a7eaefe44
4-
uses: gradle/[email protected]
1+
name: build kotlin
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- main
7+
workflow_dispatch:
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-java@v3
14+
with:
15+
java-version: '17'
16+
distribution: 'temurin'
17+
- name: Validate Gradle wrapper
18+
uses: gradle/wrapper-validation-action@ccb4328a959376b642e027874838f60f8e596de3
19+
- name: Run the Gradle package task
20+
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629
21+
with:
22+
arguments: -b ci.gradle package

0 commit comments

Comments
 (0)