feat: add env field to ContainerCreateOptions #389
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: Build | |
on: | |
workflow_dispatch: | |
push: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
if: github.ref != 'refs/heads/main' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
server-id: github | |
cache: 'gradle' | |
- name: Gradle Wrapper Validation | |
uses: gradle/[email protected] | |
- name: KtLint | |
uses: burrunan/gradle-cache-action@v1 | |
with: | |
arguments: lintKotlin --continue --stacktrace | |
gradle-version: wrapper | |
- name: Detekt | |
uses: burrunan/gradle-cache-action@v1 | |
with: | |
arguments: detekt --continue --stacktrace | |
gradle-version: wrapper | |
binary-compatibility: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
server-id: github | |
cache: 'gradle' | |
- name: Gradle Wrapper Validation | |
uses: gradle/[email protected] | |
- name: Check binary Compatibility | |
uses: burrunan/gradle-cache-action@v1 | |
with: | |
arguments: apiCheck | |
gradle-version: wrapper | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
server-id: github | |
cache: 'gradle' | |
- name: Gradle Wrapper Validation | |
uses: gradle/[email protected] | |
- name: Build with Gradle | |
uses: burrunan/gradle-cache-action@v1 | |
env: | |
OSSRH_SIGNING_KEY: ${{ secrets.OSSRH_SIGNING_KEY }} | |
OSSRH_SIGNING_PASSWORD: ${{ secrets.OSSRH_SIGNING_PASSWORD }} | |
GITHUB_USERNAME: ${{ github.actor }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
arguments: clean --no-configuration-cache --no-build-cache build -x check | |
gradle-version: wrapper |