Skip to content

more experimenting

more experimenting #22

name: Continuous Delivery
on:
push:
branches:
- main
- temp
permissions:
contents: read
packages: write
concurrency:
group: continuous-delivery
jobs:
build-and-run-tests-and-deploy:
name: Build, Run Tests, and Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
show-progress: false
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: View system settings.xml
run: >
cat ~/.m2/settings.xml;
exit 0;
- name: View repo settings.xml
run: >
cat ./.mvn/settings.xml;
exit 0;
- name: Run Maven
run: mvn -T 4 -B clean deploy
env:
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ github.token }}
# GITHUB_TOKEN: ${{ secrets.PCALOUCHE_TOKEN }}