Skip to content
This repository was archived by the owner on May 4, 2023. It is now read-only.

Commit 926731b

Browse files
Merge pull request #233 from Daviteusz/master
Added gradle cache | Update PL language
2 parents 19b0612 + 1f9fafb commit 926731b

File tree

2 files changed

+27
-17
lines changed

2 files changed

+27
-17
lines changed

.github/workflows/build-debug.yml

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,51 @@
11
name: Generate APK Debug
22

33
on:
4-
# Triggers the workflow on push or pull request events but only for default and protected branches
54
push:
65
branches:
7-
- master
6+
- '*'
7+
paths-ignore:
8+
- '**.md'
89
pull_request:
9-
branches:
10-
- master
10+
branches:
11+
- '*'
12+
paths-ignore:
13+
- '**.md'
14+
workflow_dispatch:
15+
1116
jobs:
1217
build:
1318

1419
runs-on: ubuntu-latest
20+
permissions:
21+
contents: read
22+
packages: write
1523

1624
steps:
17-
- uses: actions/checkout@v3
25+
- name: Check out repository
26+
uses: actions/checkout@v3
27+
with:
28+
submodules: true
1829

19-
- name: Set Up JDK
30+
- name: Set up Java 11
2031
uses: actions/setup-java@v3
2132
with:
22-
distribution: 'zulu'
23-
java-version: '11'
24-
33+
java-version: 11
34+
distribution: 'adopt'
35+
cache: gradle
36+
2537
- name: Change wrapper permissions
2638
run: chmod +x ./gradlew
27-
39+
2840
- name: Run tests
2941
run: ./gradlew test
3042

31-
# Create APK Debug
3243
- name: Build apk debug
3344
run: ./gradlew app:assembleDefaultDebug
3445

3546
- name: Build apk fdroid-debug
3647
run: ./gradlew app:assembleFdroidDebug
3748

38-
# Upload Artifact Build
39-
# Noted For Output [module-name]/build/outputs/apk
4049
- name: Upload apk debug
4150
uses: actions/upload-artifact@v3
4251
with:
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
<resources>
22
<string-array name="theme_values_names">
3-
<item comment="theme_values_names">Zgodny z systemem</item>
4-
<item comment="theme_values_names">Ciemny</item>
5-
<item>AMOLED Black</item>
6-
<item comment="theme_values_names">Jasny</item>
3+
<item>Zgodny z systemem</item>
4+
<item>Ciemny</item>
5+
<item>Czarny</item>
6+
<item>Jasny</item>
77
</string-array>
8+
<string-array name="permission_notification_dont_ask_again">Nie pytaj ponownie</string-array>
89
</resources>

0 commit comments

Comments
 (0)