actions-marketplace-validations/upload-dbfs-temp

Upload a file on the local filesystem to a temporary DBFS location, returning the DBFS path of the uploaded file.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
local-pathPath of the file to upload yes
dbfs-temp-dirOptional base DBFS directory under which to create a temporary directory containing the file. If specified, must start with 'dbfs:/'. The file will be uploaded to a random subdirectory under the specified directory, i.e. given a dbfs-temp-dir of dbfs:/actions-tmp and a local-path of libraries/my-library.whl, the file will be uploaded to dbfs:/actions-tmp/<uuid>/my-library.whl. Use the dbfs-file-path output to access the final uploaded path of the file. nodbfs:/tmp/databricks-github-actions
databricks-hostHostname of the Databricks workspace to which to upload the file. If unspecified, the hostname will be inferred from the DATABRICKS_HOST environment variable. Either this parameter or the DATABRICKS_HOST environment variable must be set. no
databricks-tokenDatabricks REST API token to use to upload the file. If unspecified, the token will be inferred from the DATABRICKS_TOKEN environment variable. Either this parameter or the DATABRICKS_TOKEN environment variable must be set. no
namedescription
dbfs-file-pathThe path in DBFS that the file was uploaded to, e.g. dbfs:/.../my-library.whl