#54 Generate and export key pair without password prompt #56
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: Gradle | |
on: | |
push: | |
branches: | |
- main | |
- lab-[1234] | |
pull_request: | |
branches: | |
- main | |
- lab-[1234] | |
jobs: | |
build: | |
defaults: | |
run: | |
working-directory: ./backend | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Lint OpenAPI Specifications | |
uses: stoplightio/spectral-action@latest | |
with: | |
file_glob: 'backend/*/src/main/resources/static/openapi/api.yml' | |
spectral_ruleset: backend/config/.spectral.yaml | |
- name: Setup up JDK 20 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '20' | |
distribution: 'temurin' | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Generate Key Pair | |
run: bash config/crypto/keys.bash generate test | |
- name: Build | |
run: gradle build |