Skip to content

Commit

Permalink
Update github actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
szmyd committed Aug 12, 2024
1 parent f9abc3c commit d64499e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build_dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,13 @@ jobs:
runs-on: ${{ inputs.platform }}
steps:
- name: Retrieve Code
uses: actions/checkout@v3
uses: actions/checkout@main
with:
ref: ${{ inputs.branch }}
if: ${{ inputs.testing == 'True' }}

- name: Retrieve Recipe
uses: actions/checkout@v3
uses: actions/checkout@main
with:
repository: eBay/nuraft_mesg
ref: ${{ inputs.branch }}
Expand All @@ -105,15 +105,15 @@ jobs:
key_prefix: NuMesgDeps-${{ inputs.platform }}-${{ inputs.build-type }}-${{ inputs.malloc-impl }}-${{ inputs.prerelease }}

- name: Retrieve Dependencies
uses: actions/checkout@v3
uses: actions/checkout@main
with:
repository: eBay/sisl
path: import/sisl
ref: master
if: ${{ inputs.testing == 'True' || steps.restore-cache.outputs.cache-hit != 'true' }}

- name: Load Sisl Cache
uses: eBay/sisl/.github/actions/load_conan@stable/v8.x
uses: eBay/sisl/.github/actions/load_conan@master
with:
testing: 'False'
path: import/sisl
Expand All @@ -122,7 +122,7 @@ jobs:
if: ${{ inputs.testing == 'True' || steps.restore-cache.outputs.cache-hit != 'true' }}

- name: Setup Conan
uses: eBay/sisl/.github/actions/setup_conan@stable/v8.x
uses: eBay/sisl/.github/actions/setup_conan@master
with:
platform: ${{ inputs.platform }}
if: ${{ inputs.testing == 'True' || steps.restore-cache.outputs.cache-hit != 'true' }}
Expand All @@ -147,13 +147,13 @@ jobs:
if: ${{ steps.restore-cache.outputs.cache-hit != 'true' }}

- name: Save Conan Cache
uses: eBay/sisl/.github/actions/store_conan@stable/v8.x
uses: eBay/sisl/.github/actions/store_conan@master
with:
key_prefix: NuMesgDeps-${{ inputs.platform }}-${{ inputs.build-type }}-${{ inputs.malloc-impl }}-${{ inputs.prerelease }}
if: ${{ github.event_name != 'pull_request' && steps.restore-cache.outputs.cache-hit != 'true' }}

- name: Reload Sisl Cache
uses: eBay/sisl/.github/actions/load_conan@stable/v8.x
uses: eBay/sisl/.github/actions/load_conan@master
with:
testing: 'False'
path: import/sisl
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:
if: ${{ inputs.testing == 'True' && inputs.tooling == 'Coverage' }}

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
gcov: true
Expand Down

0 comments on commit d64499e

Please sign in to comment.