Feature/56 start screen p.1 #127
Workflow file for this run
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: Check Pull Request to dev branch | |
on: | |
# Triggers the workflow on push or pull request events but only for the "dev" branch | |
pull_request: | |
branches: [ "dev" ] | |
workflow_dispatch: | |
jobs: | |
check_pull_request: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v1 | |
with: {java-version: 1.17} | |
- name: Build app | |
env: | |
STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }} | |
KEY_ALIAS: ${{ secrets.KEY_ALIAS }} | |
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }} | |
run: | | |
./gradlew :app:build | |
- name: Check status | |
run: echo "Check build status" | |
- name: Set failed if build failed | |
if: failure() | |
run: | | |
echo "::error::Build failed" |