mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-08 23:07:26 -04:00
Fix workflow YML files
This commit is contained in:
parent
4607ad1f16
commit
1b60931fc7
5
.github/workflows/fdroid_nightly.yml
vendored
5
.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
|
||||
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
|
||||
|
2
.github/workflows/nightly.yml
vendored
2
.github/workflows/nightly.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: 11
|
||||
distribution: temurin
|
||||
distribution: temurin
|
||||
|
||||
- name: build debug
|
||||
run: ./gradlew assembleNightly
|
||||
|
15
.github/workflows/pull_request.yml
vendored
15
.github/workflows/pull_request.yml
vendored
@ -21,7 +21,8 @@ jobs:
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: 11
|
||||
distribution: temurin
|
||||
distribution: temurin
|
||||
|
||||
- name: Restore Cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
@ -58,7 +59,7 @@ jobs:
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: 11
|
||||
distribution: temurin
|
||||
distribution: temurin
|
||||
|
||||
- name: Restore Cache
|
||||
uses: actions/cache@v3
|
||||
@ -90,13 +91,13 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 1
|
||||
fetch-depth: 1
|
||||
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: 11
|
||||
distribution: temurin
|
||||
java-version: 11
|
||||
distribution: temurin
|
||||
|
||||
- name: Restore Cache
|
||||
uses: actions/cache@v3
|
||||
@ -114,8 +115,8 @@ jobs:
|
||||
uses: actions/upload-artifact@v3
|
||||
if: ${{ always() }}
|
||||
with:
|
||||
name: lint-report
|
||||
path: '**/build/reports/lint-results-*'
|
||||
name: lint-report
|
||||
path: '**/build/reports/lint-results-*'
|
||||
|
||||
|
||||
|
||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: 11
|
||||
distribution: temurin
|
||||
distribution: temurin
|
||||
|
||||
- name: Decrypt files
|
||||
env:
|
||||
|
Loading…
x
Reference in New Issue
Block a user