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:
|
with:
|
||||||
java-version: 1.8
|
java-version: 1.8
|
||||||
- name: Build with Maven
|
- 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
|
- uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: Package
|
name: Package
|
||||||
|
20
pom.xml
20
pom.xml
@ -9,11 +9,11 @@
|
|||||||
<description>Draw Images on maps!</description>
|
<description>Draw Images on maps!</description>
|
||||||
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<repository>
|
<repository>
|
||||||
<id>github-clcore</id>
|
<id>github</id>
|
||||||
<name>GitHub CLCore Packages</name>
|
<name>GitHub SydMontague Apache Maven Packages</name>
|
||||||
<url>https://maven.pkg.github.com/SydMontague/ImageMaps</url>
|
<url>https://maven.pkg.github.com/SydMontague/ImageMaps</url>
|
||||||
</repository>
|
</repository>
|
||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
@ -27,8 +27,8 @@
|
|||||||
</repository>
|
</repository>
|
||||||
<repository>
|
<repository>
|
||||||
<id>github</id>
|
<id>github</id>
|
||||||
<name>GitHub SydMontague Apache Maven Packages</name>
|
<name>GitHub CLCore Packages</name>
|
||||||
<url>https://maven.pkg.github.com/SydMontague/</url>
|
<url>https://maven.pkg.github.com/SydMontague/CLCore</url>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
@ -43,6 +43,12 @@
|
|||||||
<groupId>de.craftlancer</groupId>
|
<groupId>de.craftlancer</groupId>
|
||||||
<artifactId>clcore</artifactId>
|
<artifactId>clcore</artifactId>
|
||||||
<version>0.4.0-SNAPSHOT</version>
|
<version>0.4.0-SNAPSHOT</version>
|
||||||
|
<exclusions>
|
||||||
|
<exclusion>
|
||||||
|
<artifactId>*</artifactId>
|
||||||
|
<groupId>*</groupId>
|
||||||
|
</exclusion>
|
||||||
|
</exclusions>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user