Add Shipping Price Contract #4
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: Publish Shipping Price API | |
on: | |
push: | |
paths: | |
- 7-OrchestratedServices/backend/shipping-price-api/** | |
branches: | |
- master | |
workflow_dispatch: | |
branches: | |
- master | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./7-OrchestratedServices/backend/shipping-price-api | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: "17" | |
distribution: adopt | |
cache: maven | |
- name: Publish package | |
run: mvn -s ./../../../.github/settings.xml clean release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |