Skip to content

sonatype snapshots

sonatype snapshots #2

Workflow file for this run

name: Java CI with Maven

Check failure on line 1 in .github/workflows/maven.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/maven.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: setings
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
setings:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: maven-settings-xml-action
uses: whelk-io/maven-settings-xml-action@v4
with:
repositories: '[{ "id": "oss-sonatype-snapshot", "name": "oss-sonatype-snapshot", "url": "https://repo.mamdev.server.lan/artifactory/oss-sonatype-org-snapshot", "releases": { "enabled": "false" }, "snapshots": { "enabled": "true" } }]'
- name: Build with Maven
run: mvn -B clean package