Skip to content

Commit

Permalink
Set up a temporary keystore for signing in the CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
CNugteren committed Feb 28, 2024
1 parent c72bd62 commit 0e414a7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 17
- name: Set-up a temporary keystore for signing
run: |
echo y | keytool -genkeypair -dname "cn=GitHub CI, ou=JavaSoft, o=Sun, c=US" -alias alias -keypass android -keystore ci.keystore -storepass android -validity 20000
echo RELEASE_STORE_FILE=`pwd`/ci.keystore > ~/.gradle/gradle.properties
echo RELEASE_STORE_PASSWORD=android >> ~/.gradle/gradle.properties
echo RELEASE_KEY_ALIAS=alias >> ~/.gradle/gradle.properties
echo RELEASE_KEY_PASSWORD=android >> ~/.gradle/gradle.properties
- name: Build with Gradle
run: ./gradlew build

0 comments on commit 0e414a7

Please sign in to comment.