Skip to content

Changed branch in the new workflow to CI_CD_Dev #1

Changed branch in the new workflow to CI_CD_Dev

Changed branch in the new workflow to CI_CD_Dev #1

Workflow file for this run

name: Create package on push to master
on:
push:
branches: [ CI_CD_Dev ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Java 11
uses: actions/setup-java@v1
with:
java-version: 11
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
- name: Build with Maven
# run: mvn -B package --file pom.xml
run: mvn clean install -DskipTests
- name: Publish to GitHub Packages Apache Maven
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
env:
GITHUB_TOKEN: ${{ github.token }}