Skip to content

Commit

Permalink
ci: fix Dagger version for Snapshot and SDK workflows (#1849)
Browse files Browse the repository at this point in the history
* ci: fix Snapshot workflow

* ci: fix Dagger version for SDK jobs
  • Loading branch information
chrisgacsal authored Nov 14, 2024
1 parent cc33519 commit 185c517
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/sdk-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ on:
paths:
- api/openapi.yaml
- .github/workflows/sdk-node.yaml
env:
DAGGER_VERSION: 0.14.0

jobs:
generate:
Expand All @@ -30,7 +32,7 @@ jobs:
verb: call
args: generate node-sdk -o api/client/node
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }}
version: "0.13.6"
version: ${{ env.DAGGER_VERSION }}

- name: Open pull request
uses: peter-evans/create-pull-request@v7
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/sdk-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ on:
# - api/openapi.yaml
# - .github/workflows/sdk-python.yaml

env:
DAGGER_VERSION: 0.14.0

jobs:
generate:
name: Generate
Expand All @@ -31,7 +34,7 @@ jobs:
verb: call
args: generate python-sdk -o api/client/python
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }}
version: "0.13.6"
version: ${{ env.DAGGER_VERSION }}

- name: Open pull request
uses: peter-evans/create-pull-request@v7
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/sdk-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
- api/openapi.yaml
- .github/workflows/sdk-web.yaml

env:
DAGGER_VERSION: 0.14.0

jobs:
generate:
name: Generate
Expand All @@ -30,7 +33,7 @@ jobs:
verb: call
args: generate web-sdk -o api/client/web
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }}
version: "0.13.6"
version: ${{ env.DAGGER_VERSION }}

- name: Open pull request
uses: peter-evans/create-pull-request@v7
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
permissions:
contents: read

env:
DAGGER_VERSION: 0.14.0

jobs:
build:
name: Build
Expand All @@ -23,6 +26,6 @@ jobs:
verb: call
args: snapshot --stainless-token env:STAINLESS_TOKEN
cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }}
version: "0.13.6"
version: ${{ env.DAGGER_VERSION }}
env:
STAINLESS_TOKEN: ${{ secrets.STAINLESS_TOKEN }}

0 comments on commit 185c517

Please sign in to comment.