Skip to content

Commit

Permalink
feat: trigger action from cron
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasbrugneaux committed Oct 16, 2024
1 parent 8d0290e commit e23811d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/cron-third-party.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- 'ethers'

steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
name: Download last version tested
with:
Expand Down Expand Up @@ -66,14 +67,12 @@ jobs:
- id: trigger-tests
name: Trigger tests if NPM's version was higher than tested version
if: ${{ steps.compare-version.outputs.result }} == -1
# TODO: implement third-party-test
# uses: celo-org/developer-tooling/.github/actions/test-third-party.yml
# with:
# lib: ${{ matrix.lib }}
run: echo TODO
uses: ./.github/actions/third-party-tests/action.yaml
with:
library: ${{ github.event.inputs.library }}
version: ${{ github.event.inputs.version }}

- uses: actions/upload-artifact@v4
# TODO: Move this to the test flow on success probably?
name: Upload version
if: ${{ steps.compare-version.outputs.result }} == -1
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/third-party-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ jobs:
third-party-test-workflow:
runs-on: ['self-hosted', 'org', '8-cpu']
steps:
- uses: celo-org/developer-tooling/.github/actions/third-party-tests/action.yaml
- uses: actions/checkout@v4
- uses: ./.github/actions/third-party-tests/action.yaml
with:
library: ${{ github.event.inputs.library }}
version: ${{ github.event.inputs.version }}

0 comments on commit e23811d

Please sign in to comment.