mirror of
https://github.com/Alfresco/alfresco-sdk.git
synced 2025-05-26 17:25:11 +00:00
[APPS-2991] Releasing Alfresco SDK 4.9.0 (#683)
Co-authored-by: Sathish Kumar <ST28@ford.com>
This commit is contained in:
parent
7dce05b785
commit
db15d4366b
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@ -20,7 +20,6 @@ env:
|
||||
MAVEN_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
|
||||
MAVEN_CENTRAL_USERNAME: ${{ secrets.OSS_SONATYPE_USERNAME }}
|
||||
MAVEN_CENTRAL_PASSWORD: ${{ secrets.OSS_SONATYPE_PASSWORD }}
|
||||
MAVEN_CLI_OPTS: "-B -q -e -fae -V -DinstallAtEnd=true -U"
|
||||
|
||||
jobs:
|
||||
pre_commit:
|
||||
@ -50,6 +49,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [pre_commit]
|
||||
if: "!contains(github.event.head_commit.message, '[skip tests]')"
|
||||
env:
|
||||
MAVEN_CLI_OPTS: >
|
||||
-B -q -e -fae -V -DinstallAtEnd=true -U
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.35.0
|
||||
@ -156,12 +158,13 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [tests]
|
||||
if: >
|
||||
!(failure() || cancelled()) &&
|
||||
github.event_name != 'pull_request'
|
||||
contains(github.event.head_commit.message, '[publish]')
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.35.0
|
||||
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.35.0
|
||||
- name: "Build"
|
||||
run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
|
||||
- name: "Publish"
|
||||
run: mvn $MAVEN_CLI_OPTS deploy -DskipTests
|
||||
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
|
||||
run: mvn deploy $MAVEN_CLI_OPTS -DskipTests
|
4
pom.xml
4
pom.xml
@ -522,8 +522,8 @@
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>central-releases-staging</id>
|
||||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
|
||||
<id>alfresco-public</id>
|
||||
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
|
||||
</repository>
|
||||
<snapshotRepository>
|
||||
<id>alfresco-public-snapshots</id>
|
||||
|
Loading…
x
Reference in New Issue
Block a user