Skip to content

Merge pull request #2 from GiftConnect/TECH-2031-CX-Exchange-Create-C… #4

Merge pull request #2 from GiftConnect/TECH-2031-CX-Exchange-Create-C…

Merge pull request #2 from GiftConnect/TECH-2031-CX-Exchange-Create-C… #4

Workflow file for this run

name: "iabgpp packaging"
on:
push:
branches:
- master
jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: read
packages: write
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: 'maven'
- name: Setup Maven settings.xml
run: |
echo '<settings><servers><server><id>cons-github</id><username>deploy</username><password>${{ secrets.GITHUB_TOKEN }}</password></server></servers></settings>' > ~/.m2/settings.xml
shell: bash
- name: Publish packages
run: mvn --batch-mode deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}