mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-09 07:16:04 -04:00
Fix workflow YML files
This commit is contained in:
parent
4607ad1f16
commit
1b60931fc7
3
.github/workflows/fdroid_nightly.yml
vendored
3
.github/workflows/fdroid_nightly.yml
vendored
@ -13,17 +13,20 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: 11
|
||||
distribution: temurin
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
# use timestamp as Version Code
|
||||
export versionCode=$(date '+%s')
|
||||
sed -i "s,^\(\s*versionCode\) *[0-9].*,\1 $versionCode," app/build.gradle.kts
|
||||
./gradlew assembleDebug
|
||||
|
||||
- name: fdroid nightly
|
||||
run: |
|
||||
sudo add-apt-repository ppa:fdroid/fdroidserver
|
||||
|
1
.github/workflows/pull_request.yml
vendored
1
.github/workflows/pull_request.yml
vendored
@ -22,6 +22,7 @@ jobs:
|
||||
with:
|
||||
java-version: 11
|
||||
distribution: temurin
|
||||
|
||||
- name: Restore Cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user