Merge pull request #5 from AndrewQuijano/single-server #134
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: Build Gradle project | |
on: | |
push: | |
jobs: | |
build-gradle-project: | |
runs-on: ubuntu-latest | |
env: | |
ALIAS: andrew | |
KEYSTORE: andrew_keystore | |
PASSWORD: ${{ secrets.PASSWORD }} | |
steps: | |
- name: Checkout project sources | |
uses: actions/checkout@v3 | |
- name: Install Graphviz to visualize trees | |
run: sudo apt-get install -y graphviz | |
- name: Setup Gradle | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'oracle' | |
java-version: '17' | |
cache: 'gradle' | |
- name: Create Key Store | |
run: sh create_keystore.sh | |
- name: Run Gradle Testing | |
run: sh gradlew build | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |