update maven build workflow
This commit is contained in:
6
.github/workflows/maven.yml
vendored
6
.github/workflows/maven.yml
vendored
@@ -33,8 +33,10 @@ jobs:
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 1.8
|
||||
- name: Build with Maven
|
||||
- name: Build Modules
|
||||
run: mvn -B clean package --file pom.xml
|
||||
- name: Build Bootstrap
|
||||
run: mvn -B clean package --file fizz-bootstrap/pom.xml
|
||||
- uses: bhowell2/github-substring-action@v1.0.0
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
id: releaseVersion
|
||||
@@ -59,4 +61,4 @@ jobs:
|
||||
draft: true
|
||||
files: ./fizz-gateway-community-${{ steps.releaseVersion.outputs.substring }}.zip
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user