Skip to content

Commit

Permalink
Update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
DrewCarlson committed Dec 20, 2021
1 parent 91fe0ee commit 83efc96
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 14 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ jobs:
os: [ macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 11
- name: Cache Build files
uses: actions/cache@v2
Expand All @@ -31,7 +32,7 @@ jobs:
~/.konan
~/.gradle
key: ${{ runner.os }}-${{ hashFiles('gradle.properties') }}
- uses: eskatos/gradle-command-action@v1
- uses: gradle/gradle-build-action@v2
name: Publish (macos)
with:
arguments: clean publish
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,17 @@ jobs:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 11
- name: Cache Build files
uses: actions/cache@v2
with:
path: |
~/.gradle
key: ${{ runner.os }}-${{ hashFiles('gradle.properties') }}
- uses: eskatos/gradle-command-action@v1
- uses: gradle/gradle-build-action@v2
with:
arguments: jsNodeTest jsBrowserTest
7 changes: 4 additions & 3 deletions .github/workflows/jvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,17 @@ jobs:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 11
- name: Cache Build files
uses: actions/cache@v2
with:
path: |
~/.gradle
key: ${{ runner.os }}-${{ hashFiles('gradle.properties') }}
- uses: eskatos/gradle-command-action@v1
- uses: gradle/gradle-build-action@v2
with:
arguments: jvmTest
11 changes: 6 additions & 5 deletions .github/workflows/native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ jobs:
os: [macos-latest, windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- run: sudo apt-get update --fix-missing && sudo apt-get install libcurl4-openssl-dev
name: Install libcurl-dev
if: ${{ startsWith(matrix.os, 'ubuntu') }}
- uses: actions/setup-java@v1
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 11
- name: Cache Build files
uses: actions/cache@v2
Expand All @@ -28,17 +29,17 @@ jobs:
~/.konan
~/.gradle
key: ${{ runner.os }}-${{ hashFiles('gradle.properties') }}
- uses: eskatos/gradle-command-action@v1
- uses: gradle/gradle-build-action@v2
name: Test Windows Target
if: ${{ startsWith(matrix.os, 'windows') }}
with:
arguments: win64Test
- uses: eskatos/gradle-command-action@v1
- uses: gradle/gradle-build-action@v2
name: Test Apple Targets
if: ${{ startsWith(matrix.os, 'macos') }}
with:
arguments: macosTest iosX64Test # tvosX64Test watchosX86Test
- uses: eskatos/gradle-command-action@v1
- uses: gradle/gradle-build-action@v2
name: Test Linux Target
if: ${{ startsWith(matrix.os, 'ubuntu') }}
with:
Expand Down

0 comments on commit 83efc96

Please sign in to comment.