Skip to content

Commit

Permalink
Update maven.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ke Wang committed Mar 26, 2021
1 parent b6b00c2 commit 06913c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Expand Up @@ -30,10 +30,10 @@ jobs:
step: restore

- name: Test
run: pwd && ls -lah
run: mvn install:install-file -Dfile="lib/PTRLib-1.0.4.jar" -DgroupId="com.mia" -DartifactId=craftstudio -Dversion="1.0.4" -Dpackaging=jar -DgeneratePom=true

- name: Build with Maven
run: mvn install:install-file lib/PTRLib-1.0.4.jar && mvn clean && mvn -B package --file pom.xml
run: mvn clean && mvn -B package --file pom.xml

- name: Set Release version env variable
run: echo "RELEASE_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
Expand Down

0 comments on commit 06913c3

Please sign in to comment.