diff --git a/.github/workflows/ci-unwelcome-words.yml b/.github/workflows/ci-unwelcome-words.yml new file mode 100644 index 0000000..b8b2a91 --- /dev/null +++ b/.github/workflows/ci-unwelcome-words.yml @@ -0,0 +1,23 @@ +name: CI + +on: + pull_request: + +jobs: + test: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v3 + with: + ref: ${{ github.sha }} + - name: Checkout tool + uses: actions/checkout@v3 + with: + repository: exactpro-th2/ci-github-action + ref: master + token: ${{ secrets.PAT_CI_ACTION }} + path: ci-github-action + - name: Run CI action + uses: ./ci-github-action + with: + ref: ${{ github.sha }} diff --git a/.github/workflows/dev-java-publish-docker.yml b/.github/workflows/dev-java-publish-docker.yml new file mode 100644 index 0000000..5effbf6 --- /dev/null +++ b/.github/workflows/dev-java-publish-docker.yml @@ -0,0 +1,26 @@ +name: Dev build and publish Docker image + +on: + push: + branches-ignore: + - master + - version-* + - dependabot* + paths-ignore: + - README.md + # paths: + # - gradle.properties + +jobs: + build-job: + uses: th2-net/.github/.github/workflows/compound-java-dev.yml@main + with: + build-target: 'Docker' + runsOn: ubuntu-latest + gradleVersion: '7' + docker-username: ${{ github.actor }} + secrets: + docker-password: ${{ secrets.GITHUB_TOKEN }} + + + diff --git a/.github/workflows/dev-release-java-publish-docker.yml b/.github/workflows/dev-release-java-publish-docker.yml new file mode 100644 index 0000000..57ef373 --- /dev/null +++ b/.github/workflows/dev-release-java-publish-docker.yml @@ -0,0 +1,18 @@ +name: Build and release Docker image. + +on: + push: + tags: + - \d+.\d+.\d+-dev + +jobs: + build: + uses: th2-net/.github/.github/workflows/compound-java.yml@main + with: + build-target: 'Docker' + runsOn: ubuntu-latest + gradleVersion: '7' + docker-username: ${{ github.actor }} + devRelease: true + secrets: + docker-password: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/java-publish-docker.yml b/.github/workflows/java-publish-docker.yml new file mode 100644 index 0000000..feb5496 --- /dev/null +++ b/.github/workflows/java-publish-docker.yml @@ -0,0 +1,20 @@ +name: Build and release Docker image. + +on: + push: + branches: + - master + - version-* + paths: + - gradle.properties + +jobs: + build: + uses: th2-net/.github/.github/workflows/compound-java.yml@main + with: + build-target: 'Docker' + runsOn: ubuntu-latest + gradleVersion: '7' + docker-username: ${{ github.actor }} + secrets: + docker-password: ${{ secrets.GITHUB_TOKEN }}