Skip to content

Bump com.gradle.plugin-publish from 1.2.1 to 1.2.2 #712

Bump com.gradle.plugin-publish from 1.2.1 to 1.2.2

Bump com.gradle.plugin-publish from 1.2.1 to 1.2.2 #712

Workflow file for this run

name: CI
on:
push:
branches:
- master
tags:
- v*
pull_request:
schedule:
- cron: '0 0 * * 1'
jobs:
build:
name: "build"
runs-on: ubuntu-latest
env:
TEST_GRADLE_VERSION: 7.6
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-java@v1
with:
java-version: 17
- name: Pull docker images
run: 'parallel docker pull -- xenit/alfresco-repository-skeleton:6.0 alfresco/alfresco-content-repository-community:6.0.7-ga tomcat:7-jre8 hello-world alpine:edge'
- name: Check
run: ./gradlew check -PintegrationTestGradleVersions=$TEST_GRADLE_VERSION
- name: Upload reports
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: reports-build
path: build/reports
- name: Upload analysis to sonarcloud
if: "${{ env.SONAR_TOKEN != '' }}"
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
GITHUB_TOKEN: ${{ github.token }}
run: ./gradlew sonarqube -Dsonar.projectKey=xenit-eu_alfresco-docker-gradle-plugin -Dsonar.organization=xenit-eu -Dsonar.host.url=https://sonarcloud.io -PintegrationTestGradleVersions=$TEST_GRADLE_VERSION
- name: Publish
if: ${{ startsWith(github.ref, 'refs/tags/') }}
env:
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PLUGINS_PUBLISH_KEY }}
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PLUGINS_PUBLISH_SECRET }}
run: ./gradlew publishPlugins -Pgradle.publish.key=$GRADLE_PUBLISH_KEY -Pgradle.publish.secret=$GRADLE_PUBLISH_SECRET
integration-test:
name: "integration-test (gradle-versions=${{ matrix.gradle-versions}})"
runs-on: ubuntu-latest
strategy:
matrix:
gradle-versions:
- 6.2,6.9
- 7.0,7.6
- 8.0,8.9
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-java@v1
with:
java-version: 17
- name: Pull docker images
run: 'parallel docker pull -- alfresco/alfresco-content-repository-community:6.0.7-ga tomcat:7-jre8 hello-world alpine:edge'
- name: Check
run: ./gradlew check -PintegrationTestGradleVersions=${{ matrix.gradle-versions }}
- name: Upload reports
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: reports-integration-test-${{ matrix.gradle-versions }}
path: build/reports