v1.4.0 release #122
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: Upbrella DEV PR Test | |
on: | |
pull_request: | |
branches: [ "release-dev", "release-production" ] | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
- name: Set application properties | |
run: | | |
touch src/main/resources/application.properties | |
echo "${{ secrets.APPLICATION_PROPERTIES_DEV }}" > src/main/resources/application.properties | |
echo "${{ secrets.APPLICATION_PROPERTIES_TEST }}" > src/test/resources/application.properties | |
- name: Test with Gradle | |
run: | | |
chmod +x gradlew | |
./gradlew --info test |