From f7202abd154ba028f7fc834d7b0ba47dc1039906 Mon Sep 17 00:00:00 2001 From: Oscar Hinton Date: Mon, 21 Oct 2024 22:36:19 +0200 Subject: [PATCH] Rename android artifact to -temp (#3) Fix android artifact. --- .github/workflows/generate_schemas.yml | 98 -------------------------- languages/kotlin/sdk/build.gradle | 2 +- 2 files changed, 1 insertion(+), 99 deletions(-) delete mode 100644 .github/workflows/generate_schemas.yml diff --git a/.github/workflows/generate_schemas.yml b/.github/workflows/generate_schemas.yml deleted file mode 100644 index 66e6f450..00000000 --- a/.github/workflows/generate_schemas.yml +++ /dev/null @@ -1,98 +0,0 @@ -name: Generate schemas - -on: - workflow_call: - workflow_dispatch: - push: - branches: - - main - - rc - - hotfix-rc - -env: - CARGO_TERM_COLOR: always - -jobs: - schemas: - name: Generate schemas - runs-on: ubuntu-22.04 - - steps: - - name: Checkout - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - - - name: Install rust - uses: dtolnay/rust-toolchain@7b1c307e0dcbda6122208f10795a713336a9b35a # stable - with: - toolchain: stable - - - name: Set up Node - uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 - with: - cache: "npm" - cache-dependency-path: "package-lock.json" - node-version: "16" - - - name: NPM setup - run: npm ci - - - name: Cache cargo registry - uses: Swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab # v2.7.5 - - - name: NPM Schemas - run: npm run schemas - - - name: Upload ts schemas artifact - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 - with: - name: schemas.ts - path: ${{ github.workspace }}/languages/js/sdk-client/src/schemas.ts - if-no-files-found: error - - - name: Upload c# schemas artifact - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 - with: - name: schemas.cs - path: ${{ github.workspace }}/languages/csharp/Bitwarden.Sdk/schemas.cs - if-no-files-found: error - - - name: Upload python schemas artifact - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 - with: - name: schemas.py - path: ${{ github.workspace }}/languages/python/bitwarden_sdk/schemas.py - if-no-files-found: error - - - name: Upload ruby schemas artifact - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 - with: - name: schemas.rb - path: ${{ github.workspace }}/languages/ruby/bitwarden_sdk_secrets/lib/schemas.rb - if-no-files-found: error - - - name: Upload json schemas artifact - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 - with: - name: sdk-schemas-json - path: ${{ github.workspace }}/support/schemas/* - if-no-files-found: error - - - name: Upload Go schemas artifact - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 - with: - name: schemas.go - path: ${{ github.workspace }}/languages/go/schema.go - - - name: Upload java schemas artifact - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 - with: - name: sdk-schemas-java - path: ${{ github.workspace }}/languages/java/src/main/java/com/bitwarden/sdk/schema/* - if-no-files-found: error - - - name: Upload cpp schemas artifact - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 - with: - name: sdk-schemas-cpp - path: ${{ github.workspace }}/languages/cpp/include/schemas.hpp - if-no-files-found: error diff --git a/languages/kotlin/sdk/build.gradle b/languages/kotlin/sdk/build.gradle index ebcb0838..ce23fa90 100644 --- a/languages/kotlin/sdk/build.gradle +++ b/languages/kotlin/sdk/build.gradle @@ -45,7 +45,7 @@ publishing { publications { maven(MavenPublication) { groupId = 'com.bitwarden' - artifactId = 'sdk-android' + artifactId = 'sdk-android-temp' if (findProperty('version') == 'unspecified') { // Determine the version from the git history.