Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update build-on-pull.yml #239

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions .github/workflows/build-on-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,26 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2

uses: actions/checkout@v4

- name: Decode Keystore File
run: echo "${{ secrets.KEYSTORE_FILE }}" | base64 -d > ${{ github.workspace }}/my-release-key.keystore

- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'

- name: Build with Gradle
run: ./gradlew build
run: ./gradlew build \
-Dandroid.injected.signing.store.file=${{ github.workspace }}/my-release-key.keystore

- name: Run Tests
run: ./gradlew test

- name: Deploy Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: build-artifacts
path: build/libs/
Loading