Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
No-Github committed Sep 5, 2023
1 parent 07ff657 commit 89488f6
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 9 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Java CI

on: [ push, workflow_dispatch ]
on:
create:
tags:
- v*

jobs:
build:
Expand All @@ -14,11 +17,12 @@ jobs:
with:
java-version: '17'
distribution: 'adopt'

- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify
run: mvn clean package -DskipTests=true -Dmaven.javadoc.skip=true -B -V

- name: Upload JAR file
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v2.3.1
with:
name: burp_nu_te_gen_Releases.zip
path: target/*.jar
path: target/Nu_Te_Gen-*-SNAPSHOT-jar-with-dependencies.jar
18 changes: 13 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>net.test</groupId>
<artifactId>Nu_Te_Gen</artifactId>
<version>1.3-SNAPSHOT</version>
<version>1.4-SNAPSHOT</version>

<build>
<plugins>
Expand Down Expand Up @@ -49,12 +49,21 @@
</executions>
</plugin>




</plugins>
</build>

<repositories>
<repository>
<id>alimaven</id>
<url>https://maven.aliyun.com/repository/public</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>alimaven</id>
<url>https://maven.aliyun.com/repository/public</url>
</pluginRepository>
</pluginRepositories>

<dependencies>
<dependency>
Expand All @@ -69,5 +78,4 @@
</dependency>
</dependencies>


</project>

0 comments on commit 89488f6

Please sign in to comment.