diff --git a/.github/workflows/extension.yml b/.github/workflows/extension.yml index 28db56c..370bc4a 100644 --- a/.github/workflows/extension.yml +++ b/.github/workflows/extension.yml @@ -1,6 +1,3 @@ -# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions - name: Exasol SQLTools Driver on: @@ -39,12 +36,7 @@ jobs: draft: false prerelease: false - name: Upload Release Asset - id: upload-release-asset - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: AButler/upload-release-assets@v2.0 with: - upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps - asset_path: exasol-driver-${{ github.ref }}.vsix - asset_name: exasol-driver-${{ github.ref }}.vsix - asset_content_type: application/zip + files: 'exasol-driver-*.vsix' + repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index 4662911..2166db5 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "exasol-driver", "displayName": "Exasol Driver", "description": "Exasol Driver for SQLTools", - "version": "0.0.1", + "version": "0.0.2", "engines": { "vscode": "^1.42.0" }, diff --git a/src/ls/driver.ts b/src/ls/driver.ts index 70dd7ec..d5f8b8a 100644 --- a/src/ls/driver.ts +++ b/src/ls/driver.ts @@ -180,7 +180,7 @@ export default class YourDriverClass extends AbstractDriver 0) { + if (_extraParams.tables && _extraParams.tables.length > 0) { return this.queryResults(this.queries.searchColumns({ search, tables: _extraParams.tables || [] })); } else { return [];