From c1c1be04cbb1f15bfd1d89217fdfaea16cb1a8cc Mon Sep 17 00:00:00 2001 From: SydMontague Date: Sat, 18 Jul 2020 23:57:29 +0200 Subject: [PATCH] GitHub Actions integration --- .github/workflows/maven.yml | 5 ++++- pom.xml | 24 +++++++++++++++--------- 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index c7f9fde..eaa2aa0 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -21,7 +21,10 @@ jobs: with: java-version: 1.8 - name: Build with Maven - run: mvn -B package --file pom.xml + run: | + mkdir -p ~/.m2 + echo "github${{ github.actor }}${{ github.token }}" > ~/.m2/settings.xml + mvn -B package --file pom.xml - uses: actions/upload-artifact@v1 with: name: Package diff --git a/pom.xml b/pom.xml index 1aa1c3b..6af196b 100644 --- a/pom.xml +++ b/pom.xml @@ -7,15 +7,15 @@ 1.0.0-SNAPSHOT ImageMaps Draw Images on maps! - + - - github-clcore - GitHub CLCore Packages - https://maven.pkg.github.com/SydMontague/ImageMaps - + + github + GitHub SydMontague Apache Maven Packages + https://maven.pkg.github.com/SydMontague/ImageMaps + - + UTF-8 @@ -27,8 +27,8 @@ github - GitHub SydMontague Apache Maven Packages - https://maven.pkg.github.com/SydMontague/ + GitHub CLCore Packages + https://maven.pkg.github.com/SydMontague/CLCore @@ -43,6 +43,12 @@ de.craftlancer clcore 0.4.0-SNAPSHOT + + + * + * + +