Skip to content

Commit 718df2c

Browse files
authored
Merge pull request #13 from nethical6/nethical6-patch-2
Create release.yml
2 parents f3fcab8 + 7108831 commit 718df2c

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/release.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Release Build CI
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
build:
8+
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v4
14+
15+
- name: Set up JDK 17
16+
uses: actions/setup-java@v4.1.0
17+
with:
18+
distribution: 'temurin'
19+
java-version: '17'
20+
21+
- name: Give permission to executable
22+
run: chmod +x gradlew
23+
24+
- name: Build with gradle
25+
uses: gradle/gradle-build-action@v3.1.0
26+
with:
27+
gradle-version: nightly
28+
arguments: assembleRelease
29+
30+
- name: Upload release apk
31+
uses: actions/upload-artifact@v4
32+
with:
33+
name: apk-release
34+
path: app/build/outputs/apk/release
35+

0 commit comments

Comments
 (0)