-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
merge build workflow file and add referenced file to the build #62
base: main
Are you sure you want to change the base?
Changes from all commits
ef119e0
01828d0
a7223df
fb3755c
a8c03f3
a819cc7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Build and Push Plex Media Server API Spec | ||
|
||
permissions: | ||
checks: write | ||
contents: write | ||
pull-requests: write | ||
statuses: write | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
force: | ||
description: Force generation of SDKs | ||
type: boolean | ||
default: false | ||
Comment on lines
+11
to
+15
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @LukeHagar Can this be removed as well? |
||
push: | ||
branches: | ||
- main | ||
paths: | ||
- .github/workflows/build-and-push-pms-spec.yaml | ||
- src/** | ||
JasonLandbridge marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
jobs: | ||
build: | ||
name: Build Open API Spec | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Project Setup | ||
uses: ./.github/workflows/steps/project-setup | ||
|
||
- name: Build Plex Media Server Specification | ||
run: bun run build | ||
|
||
- name: Commit Build Specification Files | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: "build: dereferenced Plex Media Server API Spec updated" | ||
skip_checkout: true | ||
skip_fetch: true | ||
add_options: "-f" | ||
file_pattern: "./output/*.yaml" | ||
skip_dirty_check: true | ||
generate: | ||
needs: build | ||
name: Push to Speakeasy API | ||
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15 | ||
with: | ||
force: ${{ github.event.inputs.force }} | ||
Comment on lines
+49
to
+50
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @LukeHagar Can this be removed if this pipeline will never generate an SDK directly? |
||
mode: direct | ||
speakeasy_version: latest | ||
secrets: | ||
github_access_token: ${{ secrets.GITHUB_TOKEN }} | ||
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }} | ||
JasonLandbridge marked this conversation as resolved.
Show resolved
Hide resolved
|
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@LukeHagar And by extension this as well?