Skip to content

Commit

Permalink
chore: TOOLS-2362 update actions (#86)
Browse files Browse the repository at this point in the history
* chore: update actions
  • Loading branch information
dwelch-spike authored Feb 16, 2023
1 parent 1c52a4b commit 45bdcc7
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 122 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/benchmark-artifact-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
run: |
sudo apt-get install -y libevent-dev libev-dev libuv1-dev
- name: Checkout asbench
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: main
submodules: recursive
Expand All @@ -34,7 +34,7 @@ jobs:
if_true: asbench-${{ runner.os }}
if_false: asbench-${{ runner.os }}-${{ matrix.ev-lib }}
- name: Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ steps.artifact-name.outputs.value }}
path: main/target/asbench
Expand All @@ -45,11 +45,11 @@ jobs:

steps:
- name: Checkout asbench
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: recursive
- name: Get artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
path: binaries/
- name: Create tarball
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/benchmark-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ jobs:
cd lcov-1.16
sudo make install
- name: Download libcheck
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: libcheck/check
submodules: recursive
ref: ${{ env.LIBCHECK_VERSION }}
path: check-${{ env.LIBCHECK_VERSION }}
- name: Cache libcheck
id: cache-libcheck
uses: actions/cache@v2
uses: actions/cache@v3
env:
cache-name: libcheck
with:
Expand All @@ -62,7 +62,7 @@ jobs:
sudo make install
sudo ldconfig
- name: Checkout asbench
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: main
submodules: recursive
Expand All @@ -80,7 +80,7 @@ jobs:
rm -rf client
rm -rf main/target
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1.0.15
uses: codecov/codecov-action@v3
with:
verbose: false
directory: main/test_target
Expand Down
109 changes: 0 additions & 109 deletions .github/workflows/benchmark-release.yml

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/mac-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ jobs:
cond: ${{ inputs.submodule != '' }}
if_true: aerospike-tools/${{ inputs.submodule }} # In this case we are expecting to checkout the tools package.
if_false: asbench
- uses: kenchan0130/actions-system-info@master
- uses: kenchan0130/actions-system-info@v1.1.0
id: system-info
- name: Install dependencies from brew
run: |
brew install libev openssl@3 automake # libuv and libevent already installed
# this will checkout the whole tools repo when run from aerospike-tools, but we will
# just cd into the correct directory calculated from working-dir
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
path: ${{ steps.checkout-dir.outputs.value }}
fetch-depth: 0
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
if_true: asbench
if_false: asbench-${{ matrix.ev-lib }}
- name: Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ steps.system-info.outputs.platform }}-${{ runner.arch }}-${{ runner.os }}-${{ steps.system-info.outputs.release }}-${{ steps.artifact-name.outputs.value }}
path: ${{ steps.working-dir.outputs.value }}/target/asbench
Expand All @@ -80,10 +80,10 @@ jobs:
if: "${{ inputs.submodule == '' }}"

steps:
- uses: kenchan0130/actions-system-info@master
- uses: kenchan0130/actions-system-info@v1.1.0
id: system-info
- name: Get artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
path: target
- uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 45bdcc7

Please sign in to comment.