Skip to content

Commit

Permalink
merged main
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris Bujak committed Nov 30, 2023
1 parent 1dc8a3b commit 5c14d95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate_schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ jobs:
name: sdk-schemas-json
path: ${{ github.workspace }}/support/schemas/*
if-no-files-found: error

- name: Upload Go schemas artifact
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: schemas.go
path: ${{ github.workspace }}/languages/go/schema.go

- name: Upload java schemas artifact
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
Expand Down
5 changes: 2 additions & 3 deletions support/scripts/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ async function main() {

writeToFile("./languages/csharp/Bitwarden.Sdk/schemas.cs", csharp.lines);

writeToFile("./languages/csharp/schemas.cs", csharp.lines);

const go = await quicktype({
inputData,
lang: "go",
Expand All @@ -80,8 +78,9 @@ async function main() {
"just-types-and-package": true,
},
});

writeToFile("./languages/go/schema.go", go.lines);

const java = await quicktypeMultiFile({
inputData,
lang: "java",
Expand Down

0 comments on commit 5c14d95

Please sign in to comment.