Open-source alternative Instagram client on Android. More maintainers needed!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.1 KiB

  1. name: Github debug build
  2. on: workflow_dispatch
  3. # push:
  4. # branches: [ master ]
  5. # pull_request:
  6. # branches: [ master ]
  7. jobs:
  8. build:
  9. runs-on: ubuntu-latest
  10. steps:
  11. - name: Checkout
  12. uses: actions/checkout@v2
  13. - name: set up JDK 1.8
  14. uses: actions/setup-java@v1
  15. with:
  16. java-version: 1.8
  17. - name: Grant execute permission for gradlew
  18. run: chmod +x gradlew
  19. - name: Build Github debug apk
  20. run: ./gradlew assembleGithubRelease --stacktrace
  21. - name: Sign APK
  22. uses: r0adkll/sign-android-release@v1
  23. # ID used to access action output
  24. id: sign_app
  25. with:
  26. releaseDirectory: app/github/release
  27. signingKeyBase64: ${{ secrets.SIGNING_KEY }}
  28. alias: ${{ secrets.ALIAS }}
  29. keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
  30. keyPassword: ${{ secrets.KEY_PASSWORD }}
  31. # Create artifact
  32. - name: Create apk artifact
  33. uses: actions/upload-artifact@v2
  34. with:
  35. name: app-github-release.apk
  36. path: ${{steps.sign_app.outputs.signedReleaseFile}}