Skip to content

Commit

Permalink
Merge pull request #166 from crobox/github-actions-update
Browse files Browse the repository at this point in the history
* Upgrade github actions to version 4
* Change Docker action, as the previous one is no longer exist
  • Loading branch information
toztemel authored Sep 20, 2024
2 parents 5e09db2 + 86b5829 commit 1bb5660
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Docker Compose Action
uses: isbang/compose-action@v1.0.0
uses: hoverkraft-tech/compose-action@v2.0.1
env:
CLICKHOUSE_VERSION: ${{ matrix.clickhouse }}
with:
Expand All @@ -43,13 +43,13 @@ jobs:

- name: Setup Java (temurin@17)
if: matrix.java == 'temurin@17'
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
distribution: temurin
distribution: 'temurin'
java-version: 17

- name: Cache sbt
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.sbt
Expand All @@ -70,9 +70,9 @@ jobs:
run: tar cf targets.tar target client/target dsl/target testkit/target project/target

- name: Upload target directories
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: target-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java }}
name: target-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java }}-${{matrix.clickhouse}}
path: targets.tar

publish:
Expand All @@ -87,19 +87,19 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Java (temurin@17)
if: matrix.java == 'temurin@17'
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17

- name: Cache sbt
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.sbt
Expand All @@ -111,7 +111,7 @@ jobs:
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}

- name: Download target directories (3.3.1)
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: target-${{ matrix.os }}-3.3.1-${{ matrix.java }}

Expand All @@ -121,7 +121,7 @@ jobs:
rm targets.tar
- name: Download target directories (2.13.13)
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: target-${{ matrix.os }}-2.13.13-${{ matrix.java }}

Expand Down

0 comments on commit 1bb5660

Please sign in to comment.