Skip to content

Commit

Permalink
Update github workflow actions (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
szmyd authored Aug 12, 2024
1 parent c736def commit 20ff1ab
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build_dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,35 +85,35 @@ 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/IOManager
ref: ${{ inputs.branch }}
if: ${{ inputs.testing == 'False' }}

- name: Load IOMgr Cache
id: restore-cache
uses: eBay/sisl/.github/actions/load_conan@stable/v8.x
uses: eBay/sisl/.github/actions/load_conan@master
with:
testing: ${{ inputs.testing }}
key_prefix: IOMgrDeps-${{ 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 @@ -148,13 +148,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: IOMgrDeps-${{ 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 @@ -190,7 +190,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 20ff1ab

Please sign in to comment.