-
-
Save krzema12/c34a2eec01f3c1d756194ebe9b9c88b4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file was generated using Kotlin DSL (.github/workflows/testing.main.kts). | |
# If you want to modify the workflow, please change the Kotlin file and regenerate this YAML file. | |
# Generated with https://github.com/krzema12/github-workflows-kt | |
name: Build | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
check_yaml_consistency: | |
runs-on: ubuntu-latest | |
steps: | |
- id: step-0 | |
name: Check out | |
uses: actions/checkout@v3 | |
- id: step-1 | |
name: Execute script | |
run: rm '.github/workflows/build.yaml' && '.github/workflows/build.main.kts' | |
- id: step-2 | |
name: Consistency check | |
run: git diff --exit-code '.github/workflows/build.yaml' | |
build: | |
runs-on: ubuntu-latest | |
needs: | |
- check_yaml_consistency | |
steps: | |
- id: step-0 | |
uses: actions/checkout@v3 | |
- id: step-1 | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment