mirror of
https://github.com/SydMontague/ImageMaps.git
synced 2024-11-25 20:05:20 +01:00
GitHub Actions integration
This commit is contained in:
parent
075bf2a098
commit
c1c1be04cb
5
.github/workflows/maven.yml
vendored
5
.github/workflows/maven.yml
vendored
@ -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 "<settings><servers><server><id>github</id><username>${{ github.actor }}</username><password>${{ github.token }}</password></server></servers></settings>" > ~/.m2/settings.xml
|
||||
mvn -B package --file pom.xml
|
||||
- uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: Package
|
||||
|
20
pom.xml
20
pom.xml
@ -9,11 +9,11 @@
|
||||
<description>Draw Images on maps!</description>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>github-clcore</id>
|
||||
<name>GitHub CLCore Packages</name>
|
||||
<url>https://maven.pkg.github.com/SydMontague/ImageMaps</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>github</id>
|
||||
<name>GitHub SydMontague Apache Maven Packages</name>
|
||||
<url>https://maven.pkg.github.com/SydMontague/ImageMaps</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
|
||||
<properties>
|
||||
@ -27,8 +27,8 @@
|
||||
</repository>
|
||||
<repository>
|
||||
<id>github</id>
|
||||
<name>GitHub SydMontague Apache Maven Packages</name>
|
||||
<url>https://maven.pkg.github.com/SydMontague/</url>
|
||||
<name>GitHub CLCore Packages</name>
|
||||
<url>https://maven.pkg.github.com/SydMontague/CLCore</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
@ -43,6 +43,12 @@
|
||||
<groupId>de.craftlancer</groupId>
|
||||
<artifactId>clcore</artifactId>
|
||||
<version>0.4.0-SNAPSHOT</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>*</artifactId>
|
||||
<groupId>*</groupId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user