Skip to content

Commit

Permalink
Merge branch 'main' into 'feat/dashboard'
Browse files Browse the repository at this point in the history
  • Loading branch information
yeroldsan committed Apr 10, 2024
2 parents dfd730d + fbb2869 commit 343cac7
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build_pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build Pull Request

on:
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4.1.2
- name: set up JDK 11
uses: actions/setup-java@v4.2.1
with:
java-version: '17'
distribution: 'temurin'
cache: gradle

- name: Generate required local propeties file
run: |
echo "server.client.id=\"your_server_client_id\"" > local.properties
echo "api.url=\"your_api_url\"" >> local.properties
echo "api.key=\"your_api_key\"" >> local.properties
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build

0 comments on commit 343cac7

Please sign in to comment.