Skip to content

Commit

Permalink
add exclusions to the release process
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Nov 15, 2024
1 parent 4f3e65c commit 3b0d558
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,41 @@ on:
inputs:
release-version:
required: true
exclude-slow-benchmarks:
description: 'Exclude slow benchmarks'
required: true
type: boolean
default: false
exclude-unstable-benchmarks:
description: 'Exclude unstable benchmarks'
required: true
type: boolean
default: false
exclude-release-only-benchmarks:
description: 'Exclude release benchmarks'
required: true
type: boolean
default: false

jobs:
get-exclude-dirs:
name: Get exclude directories
runs-on: ubuntu-latest
outputs:
exclude-dirs: ${{ steps.get-exclude-dirs.outputs.exclude-dirs }}
steps:
- uses: actions/checkout@v4

- id: get-exclude-dirs
uses: ./.github/actions/get_exclude_dirs
with:
exclude-slow: ${{ github.event.inputs.exclude-slow-benchmarks }}
exclude-unstable: ${{ github.event.inputs.exclude-unstable-benchmarks }}
exclude-release-only: ${{ github.event.inputs.exclude-release-only-benchmarks }}

prepare-release:
name: Prepare Release
needs: get-exclude-dirs
runs-on: ubuntu-latest
env:
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }} # All commits must be verified
Expand Down Expand Up @@ -57,6 +88,7 @@ jobs:
directories: |
./examples
./tests
exclude-dirs: ${{ needs.get-exclude-dirs.outputs.exclude-dirs }}

update-test-files-for-release-commit:
needs: prepare-release
Expand Down

0 comments on commit 3b0d558

Please sign in to comment.