Custom formatter for request parameter #482
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: CI/CD Pipeline | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Setup Java JDK | |
uses: actions/[email protected] | |
with: | |
java-version: 21 | |
distribution: temurin | |
cache: gradle | |
- name: Test | |
run: ./gradlew clean check --stacktrace --no-daemon | |
build: | |
needs: test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Setup Java JDK | |
uses: actions/[email protected] | |
with: | |
java-version: 21 | |
distribution: temurin | |
cache: gradle | |
- name: Build | |
run: ./gradlew clean build --stacktrace -x check -x intTest -x npmTest -Dspotless.skip=true --no-daemon | |
- name: Tag Release | |
uses: mathieudutour/[email protected] | |
id: tag_version | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Release | |
uses: softprops/[email protected] | |
with: | |
body: ${{ steps.tag_version.outputs.changelog }} | |
tag_name: ${{ steps.tag_version.outputs.new_tag }} | |
files: | | |
web/build/dist/oasis-timeline-web.tar | |
autobot/build/libs/oasis-timeline-autobot.jar | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
deploy: | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Setup Java JDK | |
uses: actions/[email protected] | |
with: | |
java-version: 21 | |
distribution: temurin | |
- name: Deploy | |
env: | |
GRGIT_USER: ${{ secrets.WEB_API_KEY }} | |
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} | |
NEW_RELIC_APPLICATION_ID: ${{ secrets.NEW_RELIC_APPLICATION_ID }} | |
NEW_RELIC_REST_API_KEY: ${{ secrets.NEW_RELIC_REST_API_KEY }} | |
run: ./gradlew build publish --stacktrace -x check -x intTest -x npmTest -Dspotless.skip=true -PnewRelicRestApiKey=${NEW_RELIC_REST_API_KEY} -PnewRelicApplicationId=${NEW_RELIC_APPLICATION_ID} |