Gallery: Swipe up to show image info #139
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Gallery CI | |
on: | |
push: | |
branches: | |
- v1 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: 17 | |
- name: Setup Android SDK | |
uses: android-actions/setup-android@v2 | |
- name: Make Gradle executable | |
run: chmod +x ./gradlew | |
- name: Load Maps Token | |
env: | |
MAPS_TOKEN: $ | |
run: echo MAPS_TOKEN=\"$MAPS_TOKEN\" > ./api.properties | |
- name: Build Release APK | |
run: ./gradlew assembleRelease | |
- uses: r0adkll/sign-android-release@v1 | |
id: signed_release | |
with: | |
releaseDirectory: app/build/outputs/apk/release | |
signingKeyBase64: ${{ secrets.SIGNING_KEY }} | |
alias: ${{ secrets.ALIAS }} | |
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }} | |
keyPassword: ${{ secrets.KEY_PASSWORD }} | |
env: | |
BUILD_TOOLS_VERSION: "34.0.0" | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Gallery Release | |
path: ${{steps.signed_release.outputs.signedReleaseFile}} |