-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* zip schema and wsdl in pom * zip schemas and wsdl files * only zip * dont zip main/assembly dir
- Loading branch information
1 parent
165b951
commit 88fea98
Showing
6 changed files
with
63 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
# This workflow will build a Java project with Maven | ||
name: Build and publish schemas with Maven | ||
name: Zip and publish wsdl and schemas with Maven | ||
|
||
on: | ||
release: | ||
types: [ created ] | ||
|
||
jobs: | ||
build-and-publish: | ||
name: Build and publish code | ||
package-and-publish: | ||
name: Package and publish | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout main repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Clean with Maven | ||
run: mvn clean | ||
- name: Clean and package with Maven | ||
run: mvn clean package | ||
- name: Run publish with Maven | ||
env: | ||
GITHUB_USERNAME: x-access-token | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | ||
mvn --settings deploy-settings.xml deploy | ||
mvn --settings deploy-settings.xml deploy -Dfile=target/*.zip |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# ignore target folder | ||
target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.1.1" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.1.1 https://maven.apache.org/xsd/assembly-2.1.1.xsd"> | ||
|
||
<id>src</id> | ||
<formats> | ||
<format>zip</format> | ||
</formats> | ||
<includeBaseDirectory>false</includeBaseDirectory> | ||
|
||
<fileSets> | ||
<fileSet> | ||
<directory>${project.basedir}/src</directory> | ||
<excludes> | ||
<exclude>**/main/**</exclude> | ||
</excludes> | ||
</fileSet> | ||
</fileSets> | ||
</assembly> |