DotEnvRoot#allVariables for null variables #87
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: pull-request-build | |
on: [ pull_request ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup JDK | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'adopt' | |
java-version: 11 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
- name: Bundle install | |
run: | | |
bundle install | |
- name: Gradle clean | |
run: | | |
./gradlew clean | |
- name: Gradle build | |
run: | | |
./gradlew build | |
- name: Run Danger | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
bundle exec danger --verbose | |
- name: Gradle publish to mavenLocal | |
run: | | |
./gradlew publishToMavenLocal | |
- name: Run basic example | |
run: | | |
cd examples/basic | |
./gradlew clean --refresh-dependencies | |
- name: Run change file example | |
run: | | |
cd examples/change_file | |
./gradlew clean --refresh-dependencies | |
echo 'dotenv.filename=.env.staging' > gradle.properties | |
./gradlew clean | |
- name: Run hierarchical definitions example | |
run: | | |
cd examples/hierarchical_definitions | |
./gradlew clean --refresh-dependencies | |
- name: Upload build report | |
uses: actions/[email protected] | |
with: | |
name: build_reports | |
path: plugin/build/reports |