Update from https://github.com/europace/passende-vorschlaege-service/… #91
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: Api Release | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'api/baufi-passende-vorschlaege-api.yaml' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
TZ: Europe/Berlin | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
ref: main | |
token: ${{ secrets.RELEASE_TOKEN }} | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '11' | |
- name: Release with Gradle | |
env: | |
GITHUB_TOKEN: ${{secrets.RELEASE_TOKEN}} | |
run: | | |
git config --global user.email ${{secrets.USER_MAIL}} | |
git config --global user.name ${{secrets.USER_NAME}} | |
./gradlew release |