Skip to content

Commit f8ed098

Browse files
committed
Update workflow
1 parent 1ede7f8 commit f8ed098

File tree

2 files changed

+27
-13
lines changed

2 files changed

+27
-13
lines changed

.github/workflows/check_pr.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -51,19 +51,14 @@ jobs:
5151
- name: Make Gradlew Executable
5252
run: chmod +x ./gradlew
5353

54-
# - name: Lint
55-
# run: ./gradlew lint
54+
- name: Lint
55+
run: ./gradlew lint
5656

57-
# - name: Detekt
58-
# run: ./gradlew detekt
57+
- name: Detekt
58+
run: ./gradlew detekt
5959

60-
# - name: Spotless
61-
# run: ./gradlew spotlessCheck
60+
- name: Spotless
61+
run: ./gradlew spotlessCheck
6262

63-
# - name: Build
64-
# run: ./gradlew compileDebugKotlin
65-
66-
# check and text:
67-
- name: Create Release
68-
uses: softprops/action-gh-release@v1
69-
if: startsWith(github.ref, 'refs/tags/')
63+
- name: Build
64+
run: ./gradlew compileDebugKotlin

.github/workflows/release.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
permissions:
13+
contents: write
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: ncipollo/release-action@v1
18+
with:
19+
artifacts: "release.tar.gz,foo/*.txt"

0 commit comments

Comments
 (0)