Skip to content

Commit 73dafac

Browse files
committed
ci: report how to install what this run built
1 parent 6be7cb5 commit 73dafac

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/ci.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,18 @@ on:
1010
required: false
1111
type: string
1212
default: main
13+
outputs:
14+
artifact:
15+
description: Download URL for the generated SDK.
16+
value: ${{ jobs.generate.outputs.artifact }}
1317

1418
name: CI
1519

1620
jobs:
1721
generate:
1822
runs-on: ubuntu-latest
23+
outputs:
24+
artifact: ${{ steps.upload.outputs.artifact-url }}
1925
steps:
2026
- uses: actions/checkout@v7
2127
with:
@@ -30,7 +36,8 @@ jobs:
3036

3137
- run: bash ./generate.sh openapi-legacy.yaml
3238

33-
- uses: actions/upload-artifact@v7
39+
- id: upload
40+
uses: actions/upload-artifact@v7
3441
with:
3542
name: generated-java
3643
path: .

0 commit comments

Comments
 (0)