Test printing secrets #2
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: Github Build Demo | |
on: | |
push: | |
branches: | |
- test | |
jobs: | |
# Job name | |
build_demo: | |
name: Build Job | |
runs-on: ubuntu-latest #mac-os-latest | |
continue-on-error: true | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 11 | |
distribution: 'temurin' | |
- name: Print Secret | |
run: cat ${{ secrets.KEYSTORE_PASSWORD }} | |
- name: Setup gradle permissions | |
run: chmod +x ./gradlew | |
- name: Build gradle project | |
run: ./gradlew build | |
- name: Unit tests | |
run: ./gradlew test | |
- name: Make Unit test report | |
uses: doanpt/[email protected] | |
if: ${{ always() }} |