github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/github/testdata/examples/java.yaml.golden (about)

     1  kind: pipeline
     2  spec:
     3    stages:
     4    - name: build
     5      spec:
     6        clone: {}
     7        platform:
     8          arch: amd64
     9          os: linux
    10        runtime:
    11          spec: {}
    12          type: cloud
    13        steps:
    14        - name: Set up JDK 11
    15          spec:
    16            uses: actions/setup-java@v3
    17            with:
    18              distribution: temurin
    19              java-version: "11"
    20          type: action
    21        - name: Build with Gradle
    22          spec:
    23            uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
    24            with:
    25              arguments: build
    26          type: action
    27      type: ci
    28  version: 1