Skip to content

Commit

Permalink
Merge pull request #34 from AnnaThorne/dev
Browse files Browse the repository at this point in the history
small updates
  • Loading branch information
AnnaThorne authored Mar 24, 2024
2 parents fcc67e4 + ae6a348 commit 15363d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 43 deletions.
43 changes: 1 addition & 42 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,45 +50,4 @@ jobs:
- uses: actions/upload-artifact@v3
with:
name: PillApp-${{ github.run_number }}.apk
path: app/build/outputs/apk/release/*.apk


build:
name: Generate App Bundle
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Set up keystore
run: |
echo "${{ secrets.PILLAPP_KEYSTORE }}" > app/keystore.jks.asc
gpg -d --passphrase "${{ secrets.STORE_DECRYPT_KEY }}" --batch app/keystore.jks.asc > app/keystore.jks
- run: echo "Keystore has been set up"
- name: Set up local.properties
run: |
echo "${{ secrets.LOCAL_PROPERTIES }}" > local.properties.asc
gpg -d --passphrase "${{ secrets.STORE_DECRYPT_KEY }}" --batch local.properties.asc > local.properties
- run: echo "local.properties has been set up"
- run: chmod +x gradlew
- name: Bundle 'release' with Gradle
run: ./gradlew assembleRelease
- name: Sign AAB
id: sign_aab
uses: r0adkll/sign-android-release@v1
with:
releaseDirectory: app/release
signingKeyBase64: ${{ secrets.SIGNING_KEY_STORE_BASE64 }}
alias: ${{ secrets.SIGNING_KEY_ALIAS }}
keyStorePassword: ${{ secrets.SIGNING_STORE_PASSWORD }}
keyPassword: ${{ secrets.SIGNING_KEY_PASSWORD }}
- run: echo "Build status report=${{ job.status }}."
- name: Upload App Bundle
uses: actions/upload-artifact@v1
with:
name: PillApp-${{ github.run_number }}.aab
path: ${{steps.sign_aab.outputs.signedReleaseFile}}
path: app/build/outputs/apk/release/*.apk
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Annie
Copyright (c) 2024 Anna Thorne

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down

0 comments on commit 15363d1

Please sign in to comment.