|
| 1 | +# Copyright 2020-2025 Björn Kautler |
| 2 | +# |
| 3 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +# you may not use this file except in compliance with the License. |
| 5 | +# You may obtain a copy of the License at |
| 6 | +# |
| 7 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +# |
| 9 | +# Unless required by applicable law or agreed to in writing, software |
| 10 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +# See the License for the specific language governing permissions and |
| 13 | +# limitations under the License. |
| 14 | + |
| 15 | +# This file was generated using Kotlin DSL (.github/workflows/verify-release.main.kts). |
| 16 | +# If you want to modify the workflow, please change the Kotlin file and regenerate this YAML file. |
| 17 | +# Generated with https://github.com/typesafegithub/github-workflows-kt |
| 18 | + |
| 19 | +name: 'Verify Release' |
| 20 | +on: |
| 21 | + push: |
| 22 | + tags: |
| 23 | + - 'v*' |
| 24 | + workflow_dispatch: {} |
| 25 | +jobs: |
| 26 | + check_yaml_consistency: |
| 27 | + name: 'Check YAML consistency' |
| 28 | + runs-on: 'ubuntu-latest' |
| 29 | + steps: |
| 30 | + - id: 'step-0' |
| 31 | + name: 'Check out' |
| 32 | + uses: 'actions/checkout@v4' |
| 33 | + - id: 'step-1' |
| 34 | + name: 'Execute script' |
| 35 | + run: 'rm ''.github/workflows/verify-release.yaml'' && ''.github/workflows/verify-release.main.kts''' |
| 36 | + - id: 'step-2' |
| 37 | + name: 'Consistency check' |
| 38 | + run: 'git diff --exit-code ''.github/workflows/verify-release.yaml''' |
| 39 | + verify_release: |
| 40 | + name: 'Verify Release' |
| 41 | + runs-on: 'windows-latest' |
| 42 | + needs: |
| 43 | + - 'check_yaml_consistency' |
| 44 | + steps: |
| 45 | + - id: 'step-0' |
| 46 | + name: 'Check for Modifications' |
| 47 | + uses: 'Vampire/setup-wsl@v4' |
0 commit comments