I think I fixed the actions this time

This commit is contained in:
jobobby04 2020-05-09 19:00:45 -04:00 committed by GitHub
parent aeeafe8556
commit 1d0937397f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,18 +6,6 @@ on:
- 'master' - 'master'
jobs: jobs:
test:
name: Run Unit Tests
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Unit tests
run: bash ./gradlew test --stacktrace
apk: apk:
name: Generate APK name: Generate APK
@ -55,7 +43,7 @@ jobs:
# Source file # Source file
source: ${{ steps.write_file.outputs.filePath }} source: ${{ steps.write_file.outputs.filePath }}
# Target file # Target file
target: ${{ GITHUB_WORKSPACE }}/app/google-services.json target: ./app/google-services.json
- name: Build Release APK - name: Build Release APK
run: bash ./gradlew assembleStandard --stacktrace run: bash ./gradlew assembleStandard --stacktrace
- name: Sign Android release - name: Sign Android release
@ -75,4 +63,4 @@ jobs:
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v1
with: with:
name: TachiyomiSY-${{ github.sha }} name: TachiyomiSY-${{ github.sha }}
path: ${{ SIGNED_RELEASE_FILE }} path: $SIGNED_RELEASE_FILE