mirror of
https://github.com/PatilShreyas/NotyKT.git
synced 2026-03-13 07:59:50 +08:00
Update release workflow
This commit is contained in:
21
.github/workflows/release.yml
vendored
21
.github/workflows/release.yml
vendored
@@ -10,29 +10,22 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Checkout branch
|
||||
uses: actions/checkout@v3.5.3
|
||||
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v1
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: 17
|
||||
distribution: temurin
|
||||
cache: gradle
|
||||
|
||||
- name: Cache Gradle and wrapper
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gradle-
|
||||
|
||||
- name: Grant Permission to Execute
|
||||
run: chmod +x gradlew
|
||||
working-directory: noty-android
|
||||
|
||||
- name: Build APKs ⚙️🛠
|
||||
run: bash ./gradlew assembleDebug
|
||||
- name: Build APKs
|
||||
run: ./gradlew assembleDebug --stacktrace
|
||||
working-directory: noty-android
|
||||
|
||||
- name: Create Release ✅
|
||||
|
||||
Reference in New Issue
Block a user