Skip to content

working perfectly

working perfectly #14

name: Maven Package
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Standard Checkout
uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name:
Change directory to
server/content
run: cd server/content
- name: Build with Maven
run: mvn -B package -f
server/content/pom.xml # Replace "path/to/pom.xml" with the actual path to your pom.xml file
- name:
Publish to GitHub Packages
Apache Maven
run: mvn deploy -f
server/content/pom.xml # Replace "path/to/pom.xml" with the actual path to your pom.xml file
env:
GITHUB_TOKEN:
${{ github.token }}