diff --git a/.github/workflows/publish-ruby.yml b/.github/workflows/publish-ruby.yml index e22217a21..2be1eab85 100644 --- a/.github/workflows/publish-ruby.yml +++ b/.github/workflows/publish-ruby.yml @@ -54,42 +54,42 @@ jobs: path: languages/ruby/bitwarden_sdk_secrets/lib workflow_conclusion: success branch: ${{ github.event.inputs.release_type == 'Dry Run' && 'main' || github.ref_name }} - name: schemas.rb + artifacts: schemas.rb - name: Download x86_64-apple-darwin artifact uses: bitwarden/gh-actions/download-artifacts@main with: - workflow: generate_schemas.yml + workflow: build-rust-cross-platform.yml path: temp/macos-x64 workflow_conclusion: success branch: ${{ github.event.inputs.release_type == 'Dry Run' && 'main' || github.ref_name }} - name: libbitwarden_c_files-x86_64-apple-darwin + artifacts: libbitwarden_c_files-x86_64-apple-darwin - name: Download aarch64-apple-darwin artifact uses: bitwarden/gh-actions/download-artifacts@main with: - workflow: generate_schemas.yml + workflow: build-rust-cross-platform.yml workflow_conclusion: success branch: ${{ github.event.inputs.release_type == 'Dry Run' && 'main' || github.ref_name }} - name: libbitwarden_c_files-aarch64-apple-darwin + artifacts: libbitwarden_c_files-aarch64-apple-darwin path: temp/macos-arm64 - name: Download x86_64-unknown-linux-gnu artifact uses: bitwarden/gh-actions/download-artifacts@main with: - workflow: generate_schemas.yml + workflow: build-rust-cross-platform.yml workflow_conclusion: success branch: ${{ github.event.inputs.release_type == 'Dry Run' && 'main' || github.ref_name }} - name: libbitwarden_c_files-x86_64-unknown-linux-gnu + artifacts: libbitwarden_c_files-x86_64-unknown-linux-gnu path: temp/linux-x64 - name: Download x86_64-pc-windows-msvc artifact uses: bitwarden/gh-actions/download-artifacts@main with: - workflow: generate_schemas.yml + workflow: build-rust-cross-platform.yml workflow_conclusion: success branch: ${{ github.event.inputs.release_type == 'Dry Run' && 'main' || github.ref_name }} - name: libbitwarden_c_files-x86_64-pc-windows-msvc + artifacts: libbitwarden_c_files-x86_64-pc-windows-msvc path: temp/windows-x64 - name: Copy lib files @@ -108,9 +108,9 @@ jobs: shell: bash - name: Build gem - run: gem build bitwarden-sdk.gemspec + run: gem build bitwarden-sdk-secrets.gemspec working-directory: languages/ruby/bitwarden_sdk_secrets - name: Push gem to Rubygems if: ${{ github.event.inputs.release_type != 'Dry Run' }} - uses: rubygems/release-gem@48512b949a6517699b78f000b4f36e641d321ed3 # v1.0.0 + uses: rubygems/release-gem@035c7c1c1c14d277318867ced5037926d2395300 # v1.0.1