Skip to content

Commit

Permalink
Update gradle-command-action
Browse files Browse the repository at this point in the history
  • Loading branch information
ajalt committed Dec 11, 2021
1 parent 5ecdd5e commit 82508b4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ jobs:
- uses: actions/setup-java@v1
with:
java-version: 11
- uses: eskatos/gradle-command-action@v1
- uses: eskatos/gradle-command-action@v2
with:
dependencies-cache-enabled: true
arguments: :colormath:check :extensions:colormath-ext-jetpack-compose:check :extensions:colormath-ext-android-colorint:check :extensions:colormath-ext-android-color:check --stacktrace
- name: Bundle the build report
if: failure()
Expand All @@ -36,9 +35,8 @@ jobs:
- uses: actions/setup-java@v1
with:
java-version: 11
- uses: eskatos/gradle-command-action@v1
- uses: eskatos/gradle-command-action@v2
with:
dependencies-cache-enabled: true
arguments: macosX64Test :colormath:compileKotlinMacosArm64 tvosX64Test iosX64Test --stacktrace
windows-tests:
runs-on: windows-latest
Expand All @@ -47,9 +45,8 @@ jobs:
- uses: actions/setup-java@v1
with:
java-version: 11
- uses: eskatos/gradle-command-action@v1
- uses: eskatos/gradle-command-action@v2
with:
dependencies-cache-enabled: true
arguments: mingwX64Test :colormath:mingwX64BackgroundTest --stacktrace

deploy-mac-and-linux:
Expand All @@ -63,9 +60,8 @@ jobs:
- name: Fetch git tags
run: git fetch origin +refs/tags/*:refs/tags/*
- name: Deploy to sonatype
uses: eskatos/gradle-command-action@v1
uses: eskatos/gradle-command-action@v2
with:
dependencies-cache-enabled: true
arguments: publish -PinferVersion=true

deploy-windows:
Expand All @@ -79,9 +75,8 @@ jobs:
- name: Fetch git tags
run: git fetch origin +refs/tags/*:refs/tags/*
- name: Deploy to sonatype
uses: eskatos/gradle-command-action@v1
uses: eskatos/gradle-command-action@v2
with:
dependencies-cache-enabled: true
arguments: :colormath:publishMingwX64PublicationToMavenRepository -PinferVersion=true

env:
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ jobs:
- uses: actions/setup-java@v1
with:
java-version: 11
- uses: eskatos/gradle-command-action@v1
- uses: eskatos/gradle-command-action@v2
with:
dependencies-cache-enabled: true
arguments: :colormath:check :extensions:colormath-ext-jetpack-compose:check :extensions:colormath-ext-android-colorint:check :extensions:colormath-ext-android-color:check --stacktrace
- name: Bundle the build report
if: failure()
Expand All @@ -34,9 +33,8 @@ jobs:
- uses: actions/setup-java@v1
with:
java-version: 11
- uses: eskatos/gradle-command-action@v1
- uses: eskatos/gradle-command-action@v2
with:
dependencies-cache-enabled: true
arguments: macosX64Test :colormath:compileKotlinMacosArm64 tvosX64Test iosX64Test --stacktrace
windows-tests:
runs-on: windows-latest
Expand All @@ -45,9 +43,8 @@ jobs:
- uses: actions/setup-java@v1
with:
java-version: 11
- uses: eskatos/gradle-command-action@v1
- uses: eskatos/gradle-command-action@v2
with:
dependencies-cache-enabled: true
arguments: mingwX64Test :colormath:mingwX64BackgroundTest --stacktrace

env:
Expand Down

0 comments on commit 82508b4

Please sign in to comment.