-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
maven central publishing fixes (#2760)
* maven central publishing fixes Signed-off-by: Henry Avetisyan <[email protected]> * action to execute full build on main branch Signed-off-by: Henry Avetisyan <[email protected]> * add github actions badge Signed-off-by: Henry Avetisyan <[email protected]> --------- Signed-off-by: Henry Avetisyan <[email protected]>
- Loading branch information
1 parent
86801f8
commit b9c9b43
Showing
6 changed files
with
82 additions
and
27 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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Main Branch build | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
|
||
env: | ||
GOLANG_VERSION: 1.22 | ||
NODEJS_VERSION: 18 | ||
JAVA_VERSION_FULL_BUILD: 17 | ||
JAVA_VERSION_CLIENT_BUILD: 11 | ||
JAVA_DISTRO: temurin | ||
JAVA_ARCH: x64 | ||
|
||
jobs: | ||
athenz-build: | ||
runs-on: ubuntu-latest-4-cores | ||
steps: | ||
- name: Checkout repository | ||
id: checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Golang | ||
id: setup-go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: ${{ env.GOLANG_VERSION }} | ||
|
||
- name: Setup Node | ||
id: setup-node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ env.NODEJS_VERSION }} | ||
|
||
- name: Setup Java | ||
id: setup-java | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: ${{ env.JAVA_VERSION_FULL_BUILD }} | ||
distribution: ${{ env.JAVA_DISTRO }} | ||
architecture: ${{ env.JAVA_ARCH }} | ||
|
||
- name: Setup ZMS DB Schema file | ||
run: cp servers/zms/schema/zms_server.sql servers/zms/src/test/resources/mysql | ||
|
||
- name: Build Athenz | ||
run: mvn -B install |
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
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,9 @@ | ||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> | ||
<servers> | ||
<server> | ||
<id>ossrh</id> | ||
<username>${env.OSSRH_USERNAME}</username> | ||
<password>${env.OSSRH_TOKEN}</password> | ||
</server> | ||
</servers> | ||
</settings> |
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