Skip to content

Commit a658ca0

Browse files
authored
fix: no longer fails to find _speakeasy (#274)
1 parent 3d00424 commit a658ca0

File tree

2 files changed

+45
-21
lines changed

2 files changed

+45
-21
lines changed

.github/workflows/sdk-publish.yaml

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,13 +183,13 @@ jobs:
183183
steps:
184184
- name: Tune GitHub-hosted runner network
185185
uses: smorimoto/tune-github-hosted-runner-network@bb252dcb5c8609a31087e7993daa086f5a1c0069 # v1
186+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
186187
- name: Checkout sdk-generation-action repository
187188
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
188189
with:
189190
repository: speakeasy-api/sdk-generation-action
190191
ref: ${{ github.job_workflow_sha }}
191192
path: _speakeasy
192-
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
193193
- name: Set up Python
194194
uses: actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # v4
195195
with:
@@ -276,13 +276,13 @@ jobs:
276276
steps:
277277
- name: Tune GitHub-hosted runner network
278278
uses: smorimoto/tune-github-hosted-runner-network@bb252dcb5c8609a31087e7993daa086f5a1c0069 # v1
279+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
279280
- name: Checkout sdk-generation-action repository
280281
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
281282
with:
282283
repository: speakeasy-api/sdk-generation-action
283284
ref: ${{ github.job_workflow_sha }}
284285
path: _speakeasy
285-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
286286
- name: Set up Node
287287
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
288288
with:
@@ -393,13 +393,13 @@ jobs:
393393
working-directory: ${{ needs.release.outputs.mcp_typescript_directory }}
394394
steps:
395395
- uses: smorimoto/tune-github-hosted-runner-network@bb252dcb5c8609a31087e7993daa086f5a1c0069 # v1.0.0
396+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
396397
- name: Checkout sdk-generation-action repository
397398
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
398399
with:
399400
repository: speakeasy-api/sdk-generation-action
400401
ref: ${{ github.job_workflow_sha }}
401402
path: _speakeasy
402-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
403403
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
404404
with:
405405
node-version: "24.x"
@@ -520,6 +520,12 @@ jobs:
520520
- name: Tune GitHub-hosted runner network
521521
uses: smorimoto/tune-github-hosted-runner-network@bb252dcb5c8609a31087e7993daa086f5a1c0069 # v1
522522
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
523+
- name: Checkout sdk-generation-action repository
524+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
525+
with:
526+
repository: speakeasy-api/sdk-generation-action
527+
ref: ${{ github.job_workflow_sha }}
528+
path: _speakeasy
523529
- uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
524530
with:
525531
distribution: "corretto"
@@ -598,6 +604,12 @@ jobs:
598604
- name: Tune GitHub-hosted runner network
599605
uses: smorimoto/tune-github-hosted-runner-network@bb252dcb5c8609a31087e7993daa086f5a1c0069 # v1
600606
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
607+
- name: Checkout sdk-generation-action repository
608+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
609+
with:
610+
repository: speakeasy-api/sdk-generation-action
611+
ref: ${{ github.job_workflow_sha }}
612+
path: _speakeasy
601613
- name: Publish
602614
uses: speakeasy-api/packagist-update@5e2c88e23c7d21e40c7a02a3b252a749b351eb2f # support-github-creation
603615
with:
@@ -656,6 +668,12 @@ jobs:
656668
- name: Tune GitHub-hosted runner network
657669
uses: smorimoto/tune-github-hosted-runner-network@bb252dcb5c8609a31087e7993daa086f5a1c0069 # v1
658670
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
671+
- name: Checkout sdk-generation-action repository
672+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
673+
with:
674+
repository: speakeasy-api/sdk-generation-action
675+
ref: ${{ github.job_workflow_sha }}
676+
path: _speakeasy
659677
- name: Setup dotnet
660678
uses: actions/setup-dotnet@55ec9447dda3d1cf6bd587150f3262f30ee10815 # v3
661679
with:
@@ -787,6 +805,12 @@ jobs:
787805
- name: Tune GitHub-hosted runner network
788806
uses: smorimoto/tune-github-hosted-runner-network@bb252dcb5c8609a31087e7993daa086f5a1c0069 # v1
789807
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
808+
- name: Checkout sdk-generation-action repository
809+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
810+
with:
811+
repository: speakeasy-api/sdk-generation-action
812+
ref: ${{ github.job_workflow_sha }}
813+
path: _speakeasy
790814
- name: Set up Ruby
791815
uses: ruby/setup-ruby@d8d83c3960843afb664e821fed6be52f37da5267 # v1.231.0
792816
with:

.github/workflows/workflow-executor.yaml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -315,15 +315,15 @@ jobs:
315315
steps:
316316
- name: Tune GitHub-hosted runner network
317317
uses: smorimoto/tune-github-hosted-runner-network@bb252dcb5c8609a31087e7993daa086f5a1c0069 # v1
318+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
319+
with:
320+
ref: ${{ needs.run-workflow.outputs.commit_hash }}
318321
- name: Checkout sdk-generation-action repository
319322
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
320323
with:
321324
repository: speakeasy-api/sdk-generation-action
322325
ref: ${{ github.job_workflow_sha }}
323326
path: _speakeasy
324-
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
325-
with:
326-
ref: ${{ needs.run-workflow.outputs.commit_hash }}
327327
- name: Set up Python
328328
uses: actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # v4
329329
with:
@@ -416,15 +416,15 @@ jobs:
416416
steps:
417417
- name: Tune GitHub-hosted runner network
418418
uses: smorimoto/tune-github-hosted-runner-network@bb252dcb5c8609a31087e7993daa086f5a1c0069 # v1
419+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
420+
with:
421+
ref: ${{ needs.run-workflow.outputs.commit_hash }}
419422
- name: Checkout sdk-generation-action repository
420423
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
421424
with:
422425
repository: speakeasy-api/sdk-generation-action
423426
ref: ${{ github.job_workflow_sha }}
424427
path: _speakeasy
425-
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
426-
with:
427-
ref: ${{ needs.run-workflow.outputs.commit_hash }}
428428
- name: Set up Node
429429
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
430430
with:
@@ -506,15 +506,15 @@ jobs:
506506
steps:
507507
- name: Tune GitHub-hosted runner network
508508
uses: smorimoto/tune-github-hosted-runner-network@bb252dcb5c8609a31087e7993daa086f5a1c0069 # v1
509+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
510+
with:
511+
ref: ${{ needs.run-workflow.outputs.commit_hash }}
509512
- name: Checkout sdk-generation-action repository
510513
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
511514
with:
512515
repository: speakeasy-api/sdk-generation-action
513516
ref: ${{ github.job_workflow_sha }}
514517
path: _speakeasy
515-
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
516-
with:
517-
ref: ${{ needs.run-workflow.outputs.commit_hash }}
518518
- uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
519519
with:
520520
distribution: "corretto"
@@ -598,15 +598,15 @@ jobs:
598598
steps:
599599
- name: Tune GitHub-hosted runner network
600600
uses: smorimoto/tune-github-hosted-runner-network@bb252dcb5c8609a31087e7993daa086f5a1c0069 # v1
601+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
602+
with:
603+
ref: ${{ needs.run-workflow.outputs.commit_hash }}
601604
- name: Checkout sdk-generation-action repository
602605
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
603606
with:
604607
repository: speakeasy-api/sdk-generation-action
605608
ref: ${{ github.job_workflow_sha }}
606609
path: _speakeasy
607-
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
608-
with:
609-
ref: ${{ needs.run-workflow.outputs.commit_hash }}
610610
- name: Set up Ruby
611611
uses: ruby/setup-ruby@d8d83c3960843afb664e821fed6be52f37da5267 # v1.231.0
612612
with:
@@ -679,15 +679,15 @@ jobs:
679679
steps:
680680
- name: Tune GitHub-hosted runner network
681681
uses: smorimoto/tune-github-hosted-runner-network@bb252dcb5c8609a31087e7993daa086f5a1c0069 # v1
682+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
683+
with:
684+
ref: ${{ needs.run-workflow.outputs.commit_hash }}
682685
- name: Checkout sdk-generation-action repository
683686
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
684687
with:
685688
repository: speakeasy-api/sdk-generation-action
686689
ref: ${{ github.job_workflow_sha }}
687690
path: _speakeasy
688-
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
689-
with:
690-
ref: ${{ needs.run-workflow.outputs.commit_hash }}
691691
- name: Setup dotnet
692692
uses: actions/setup-dotnet@55ec9447dda3d1cf6bd587150f3262f30ee10815 # v3
693693
with:
@@ -750,15 +750,15 @@ jobs:
750750
steps:
751751
- name: Tune GitHub-hosted runner network
752752
uses: smorimoto/tune-github-hosted-runner-network@bb252dcb5c8609a31087e7993daa086f5a1c0069 # v1
753+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
754+
with:
755+
ref: ${{ needs.run-workflow.outputs.commit_hash }}
753756
- name: Checkout sdk-generation-action repository
754757
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
755758
with:
756759
repository: speakeasy-api/sdk-generation-action
757760
ref: ${{ github.job_workflow_sha }}
758761
path: _speakeasy
759-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
760-
with:
761-
ref: ${{ needs.run-workflow.outputs.commit_hash }}
762762
- name: Publish
763763
uses: speakeasy-api/packagist-update@5e2c88e23c7d21e40c7a02a3b252a749b351eb2f # support-github-creation
764764
with:

0 commit comments

Comments
 (0)