diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 8836c64..de7dcef 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -10,7 +10,18 @@ on: - "main" jobs: + pre_job: + runs-on: ubuntu-latest + outputs: + should_skip: ${{ steps.skip_check.outputs.should_skip }} + steps: + - id: skip_check + uses: fkirc/skip-duplicate-actions@v5 + with: + concurrent_skipping: 'same_content_newer' build: + needs: pre_job + if: needs.pre_job.outputs.should_skip != 'true' name: build (${{ matrix.python-version }}, ${{ matrix.platform.name }}) runs-on: ${{ matrix.platform.os }} strategy: