mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-09-17 14:21:39 +00:00
Change trigger and add clean cache to prepare
This commit is contained in:
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@@ -1,9 +1,6 @@
|
||||
name: Alfresco Elasticsearch Connector CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develops
|
||||
on: push
|
||||
|
||||
env:
|
||||
# Both variables are required to be set before the release process starts.
|
||||
@@ -12,16 +9,17 @@ env:
|
||||
DEVELOPMENT_VERSION: "17.92-SNAPSHOT" # The version that will be set in pom files after the release (next dev version)
|
||||
RELEASE_VERSION: "17.91" # The version of the release (tag).
|
||||
GITHUB_ACTIONS_DEPLOY_TIMEOUT: 60
|
||||
MAVEN_CLI_OPTS: "-B -e -fae -V -DinstallAtEnd=true -U -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn "
|
||||
MAVEN_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
|
||||
MAVEN_USERNAME: ${{ secrets.NEXUS_USERNAME }}
|
||||
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
|
||||
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
|
||||
JAVA_VERSION: "17"
|
||||
|
||||
jobs:
|
||||
prepare:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: "Clean cache"
|
||||
run: bash scripts/travis/cleanup_cache.sh
|
||||
- name: "Prepare environment"
|
||||
- uses: ./.github/actions/prepare
|
||||
|
||||
veracode:
|
||||
@@ -32,4 +30,4 @@ jobs:
|
||||
(github.ref_name == 'master' || contains(github.ref_name, 'release')) &&
|
||||
! contains(github.event.head_commit.message, '[skip build]')
|
||||
steps:
|
||||
- uses: Alfresco/alfresco-build-tools/.github/actions/veracode@1.10.0
|
||||
- uses: Alfresco/alfresco-build-tools/.github/actions/veracode@1.12.0
|
Reference in New Issue
Block a user