Skip to content

Commit

Permalink
update gradle runner CI
Browse files Browse the repository at this point in the history
  • Loading branch information
i-walker committed Jul 25, 2022
1 parent db3fd02 commit 72cbafa
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate-alpha-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
java-version: 11

- name: Gradle build
uses: gradle/[email protected].1
uses: gradle/[email protected].2
with:
arguments: --full-stacktrace build "-Psemver.stage=alpha"

Expand All @@ -52,7 +52,7 @@ jobs:
java-version: 11

- name: Generate Tag
uses: gradle/[email protected].1
uses: gradle/[email protected].2
with:
arguments: --full-stacktrace createSemverTag "-Psemver.stage=alpha"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
java-version: 11

- name: Gradle build
uses: gradle/[email protected].1
uses: gradle/[email protected].2
with:
arguments: --full-stacktrace build "-Psemver.scope=${{ github.event.inputs.scope }}" "-Psemver.stage=${{ github.event.inputs.stage }}"

Expand All @@ -72,7 +72,7 @@ jobs:
java-version: 11

- name: Generate Tag
uses: gradle/[email protected].1
uses: gradle/[email protected].2
with:
arguments: --full-stacktrace createSemverTag "-Psemver.scope=${{ github.event.inputs.scope }}" "-Psemver.stage=${{ github.event.inputs.stage }}"

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
java-version: 11

- name: Build
uses: gradle/[email protected].1
uses: gradle/[email protected].2
with:
arguments: assemble -Pkotlin.mpp.enableCompatibilityMetadataVariant=true --full-stacktrace

Expand All @@ -59,7 +59,7 @@ jobs:
path: '**/build/reports/**'

- name: Publish alpha/beta/rc version
uses: gradle/[email protected].1
uses: gradle/[email protected].2
if: |
contains(steps.version.outputs.arrow, 'alpha') ||
contains(steps.version.outputs.arrow, 'beta') ||
Expand All @@ -68,7 +68,7 @@ jobs:
arguments: --full-stacktrace -Pkotlin.mpp.enableCompatibilityMetadataVariant=true publishToSonatype closeAndReleaseSonatypeStagingRepository

- name: Publish final version
uses: gradle/[email protected].1
uses: gradle/[email protected].2
if: |
!contains(steps.version.outputs.arrow, 'alpha') &&
!contains(steps.version.outputs.arrow, 'beta') &&
Expand All @@ -85,7 +85,7 @@ jobs:
bundle install --gemfile Gemfile
- name: Create API doc
uses: gradle/[email protected].1
uses: gradle/[email protected].2
with:
arguments: --full-stacktrace -Pkotlin.mpp.enableCompatibilityMetadataVariant=true dokkaGfm

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:
java-version: 11

- name: build
uses: gradle/[email protected].1
uses: gradle/[email protected].2
if: matrix.os != 'windows-latest'
with:
arguments: --full-stacktrace build

- name: mingwX64Test
uses: gradle/[email protected].1
uses: gradle/[email protected].2
if: matrix.os == 'windows-latest'
with:
arguments: --full-stacktrace mingwX64Test
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
java-version: 11

- name: Build
uses: gradle/[email protected].1
uses: gradle/[email protected].2
with:
arguments: apiDump

Expand Down

0 comments on commit 72cbafa

Please sign in to comment.