From a9cfb87a9ed631d876a7833527269e0727a387f6 Mon Sep 17 00:00:00 2001 From: Steffen Hildebrandt Date: Wed, 20 Dec 2023 10:42:50 +0100 Subject: [PATCH] adjust github actions and pom --- .github/workflows/build.yml | 26 ++++++++-------- .github/workflows/deploy.yml | 16 ++++++++++ pom.xml | 58 ++++++++++++------------------------ 3 files changed, 49 insertions(+), 51 deletions(-) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 43045ada..466d945e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,17 +9,19 @@ jobs: matrix: os: [ ubuntu-latest, macos-latest, windows-latest ] steps: - - uses: actions/checkout@v2 - - name: Set up JDK 1.8 - uses: actions/setup-java@v1 + - uses: actions/checkout@v4 + - name: Set up JDK 11 + uses: actions/setup-java@v2 with: - java-version: 1.8 + java-version: 11 + distribution: zulu - name: Build with Maven - run: mvn -B package - - name: Upload coverage to codecov.io - uses: codecov/codecov-action@v1 - with: - name: LogicNG - file: ./target/site/jacoco/jacoco.xml - flags: unittests - env_vars: OS + run: mvn -ntp package +# - name: Upload coverage to codecov.io +# uses: codecov/codecov-action@v3 +# with: +# token: TODO ${{ secrets.CODECOV_TOKEN }} +# name: LogicNG-Core +# file: ./target/site/jacoco/jacoco.xml +# flags: unittests +# env_vars: OS diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 00000000..e533515f --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,16 @@ +name: deploy + +on: [ push, pull_request ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + java-version: 11 + distribution: zulu + - name: Build with Maven + run: mvn -ntp deploy -DskipTests diff --git a/pom.xml b/pom.xml index 174d8bb8..a4fc23a6 100644 --- a/pom.xml +++ b/pom.xml @@ -1,26 +1,6 @@ - - - - - - - - - - - - - - - - - - - - - - - + + + @@ -52,9 +32,9 @@ - scm:git:git://github.com:logic-ng/LogicNG.git - scm:git:ssh://github.com:logic-ng/LogicNG.git - https://github.com/logic-ng/LogicNG + scm:git:git://github.com:booleworks/logicng-core.git + scm:git:ssh://github.com:booleworks/logicng-core.git + https://github.com/booleworks/logicng-core @@ -313,19 +293,6 @@ - - - sonatype-nexus-snapshot - https://oss.sonatype.org/content/repositories/snapshots - - false - - - true - - - - release @@ -391,4 +358,17 @@ + + + + booleworks-registry + BooleWorks GitHub Registry + https://maven.pkg.github.com/booleworks/logicng-core + + + booleworks-registry + BooleWorks GitHub Registry + https://maven.pkg.github.com/booleworks/logicng-core + +