Merge pull request #9 from htynkn/chore/fix-build

fix lint issue and enable github action
This commit is contained in:
Dmitry Isaenko 2020-10-22 15:49:40 +03:00 committed by GitHub
commit 0d589ef32b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 31 additions and 0 deletions

27
.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,27 @@
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew clean build
- uses: actions/upload-artifact@v2
with:
name: debug
path: app/build/outputs/apk/debug/*.apk

View file

@ -39,4 +39,6 @@
<string name="about_line_4">首页: <a href="https://github.com/developersu/ns-usbloader-mobile">https://github.com/developersu/ns-usbloader-mobile</a></string>
<string name="about_line_6">如果本应用对你有帮助请在程序的GitHub页面上按星号加分也欢迎赞助</string>
<string name="about_line_5">口譯員:: </string>
<string name="settings_application_settings">应用设置</string>
<string name="settings_app_theme">应用主题:</string>
</resources>

View file

@ -39,4 +39,6 @@
<string name="notification_transfer_in_progress">正在進行資料傳輸</string>
<string name="notification_chan_name_progress">正在進行傳輸</string>
<string name="notification_chan_desc_progress">在通知欄顯示傳輸檔案進度</string>
<string name="settings_application_settings">程式設置</string>
<string name="settings_app_theme">程式主題:</string>
</resources>