Skip to content

Commit

Permalink
chore: More schemas action tinkering part two
Browse files Browse the repository at this point in the history
  • Loading branch information
bgins committed Feb 8, 2024
1 parent dd0f631 commit 6eb231d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 📄 Schemas

on:
push:
branches: [main]
branches: [main, "**"]

pull_request:
branches: ["**"]
Expand Down Expand Up @@ -37,9 +37,9 @@ jobs:
schemas:
needs: changes
if: ${{ needs.changes.outputs.rust == 'true' }}
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
# env:
# SCCACHE_GHA_ENABLED: "true"
# RUSTC_WRAPPER: "sccache"
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down Expand Up @@ -90,4 +90,4 @@ jobs:
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
git commit -am "chore(schemas): update OpenRPC API doc and JSON schemas"
git push --force-with-lease origin HEAD:refs/heads/${{ github.head_ref }}
git push --force-with-lease origin HEAD:refs/heads/${{ github.ref }}
File renamed without changes.
2 changes: 1 addition & 1 deletion homestar-schemas/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ fn generate_api_doc(
summary: None,
servers: None,
tags: None,
param_structure: Some(MethodObjectParamStructure::ByName),
param_structure: Some(MethodObjectParamStructure::Either),
params: vec![],
result: ContentDescriptorOrReference::ContentDescriptorObject(ContentDescriptorObject {
name: "metrics".to_string(),
Expand Down

0 comments on commit 6eb231d

Please sign in to comment.