Skip to content

Commit

Permalink
Update Github Actions [API-2265] (#1246)
Browse files Browse the repository at this point in the history
  • Loading branch information
emreyigit authored Oct 14, 2024
1 parent 952e05e commit 4a027a8
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build-test/windows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ runs:
.\scripts\test-windows.bat
$dump | wait-process
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: failure()
with:
name: dump-${{ env.JOB_NAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/coverage-report/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ runs:
genhtml coverage.info --output-directory=coverage-html-reports
- name: Upload HTML views as artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
# checkout the hazelcast/hazelcast-cpp-client repository
# bare minimum - just to use actions
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}
token: ${{ secrets.GH_TOKEN }}
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
name: Code Coverage
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ needs.get-refs.outputs.ref }}
token: ${{ secrets.GH_TOKEN }}
Expand Down Expand Up @@ -206,7 +206,7 @@ jobs:
name: ubuntu-x64-(${{ matrix.build_type.type }}, ${{ matrix.shared_libs.name }}, ${{ matrix.with_openssl.name }})
steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ needs.get-refs.outputs.ref }}
token: ${{ secrets.GH_TOKEN }}
Expand Down Expand Up @@ -257,7 +257,7 @@ jobs:
JOB_NAME: win_${{ matrix.arch.address_model }}_${{ matrix.build_type.short }}_${{ matrix.shared_libs.name }}_${{ matrix.with_openssl.name }}
name: win-${{ matrix.arch.address_model }}_${{ matrix.shared_libs.name }}_${{ matrix.with_openssl.name }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ needs.get-refs.outputs.ref }}
token: ${{ secrets.GH_TOKEN }}
Expand Down Expand Up @@ -315,7 +315,7 @@ jobs:
OPENSSL_ROOT_DIR: /usr/local/opt/openssl/

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ needs.get-refs.outputs.ref }}
token: ${{ secrets.GH_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage-report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: Create and upload coverage
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- uses: ./.github/actions/coverage-report
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-macos-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
OPENSSL_ROOT_DIR: /usr/local/opt/openssl/

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: ./.github/actions/build-test/macos-x86_64
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-ubuntu-i386.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
(${{ matrix.build_type.type }}, ${{ matrix.shared_libs.name }}, ${{matrix.boost.version}},${{ matrix.with_openssl.name }})
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- uses: ./.github/actions/build-test/ubuntu-x86_64
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-ubuntu-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
(${{ matrix.build_type.type }}, ${{ matrix.shared_libs.name }}, ${{matrix.boost.version}}, ${{ matrix.with_openssl.name }})
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: ./.github/actions/build-test/ubuntu-x86_64
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
(${{ matrix.vc_boost.name }}, ${{ matrix.arch.address_model }}, ${{ matrix.build_type }}, ${{ matrix.shared_libs.name }}, ${{ matrix.with_openssl.name }})
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Cache Boost Version
id: cache-boost
Expand All @@ -88,7 +88,7 @@ jobs:
- name: Cache Thrift Version
id: cache-thrift
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: C:\Thrift
key: ${{ matrix.vc_boost.image }}-${{ matrix.arch.address_model }}-thrift-0.13-${{ matrix.build_type }}
Expand Down

0 comments on commit 4a027a8

Please sign in to comment.