Skip to content

Commit

Permalink
CI: skip duplicated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
strub committed Dec 7, 2023
1 parent 4bea5b6 commit 5fb0fc3
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,20 @@ env:
OPAMJOBS: 2

jobs:
pre_job:
runs-on: ubuntu-20.04
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- uses: fkirc/skip-duplicate-actions@v5
id: skip_check
with:
cancel_others: 'true'
concurrent_skipping: 'same_content_newer'

easycrypt:
needs: pre_job
if: needs.pre_job.outputs.should_skip != 'true'
name: Compile & Cache EasyCrypt
runs-on: ubuntu-20.04
container:
Expand Down

0 comments on commit 5fb0fc3

Please sign in to comment.