Skip to content

Commit

Permalink
Tweaks to input params.
Browse files Browse the repository at this point in the history
  • Loading branch information
VersusFacit committed Mar 21, 2024
1 parent 843f21c commit 3313926
Showing 1 changed file with 9 additions and 33 deletions.
42 changes: 9 additions & 33 deletions .github/workflows/release-internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,39 +8,15 @@ on:
type: string
required: true
sha:
description: "The sha to use (leave empty to use latest on main)"
description: "The ref (sha or branch name) to use"
type: string
required: false
package_test_command:
description: "Package test command"
type: string
default: "python -c \"import dbt.adapters.bigquery\""
default: "main"
required: true
dbms_name:
description: "The name of the warehouse the adapter connects to."
type: string
default: "bigquery"
required: true
workflow_call:
inputs:
version_number:
description: "The release version number (i.e. 1.0.0b1)"
type: string
required: true
sha:
description: "The sha to use (leave empty to use latest on main)"
type: string
required: false
package_test_command:
description: "Package test command"
type: string
default: "python -c \"import dbt.adapters.bigquery\""
required: true
dbms_name:
description: "The name of the warehouse the adapter connects to."
type: string
default: "bigquery"
required: true

defaults:
run:
Expand All @@ -51,14 +27,14 @@ env:

jobs:
invoke-reusable-workflow:
name: Build and Release Internally
name: "Build and Release Internally"

uses: VersusFacit/dbt-release/.github/workflows/internal-archive-release.yml@main
uses: "dbt-labs/dbt-release/.github/workflows/internal-archive-release.yml@mp/finish_internal_workflow"

with:
version_number: ${{ inputs.version_number }}
package_test_command: ${{ inputs.package_test_command }}
dbms_name: ${{ inputs.dbms_name }}
sha: ${{ inputs.sha }}
version_number: "${{ inputs.version_number }}"
package_test_command: "${{ inputs.package_test_command }}"
dbms_name: "bigquery"
sha: "${{ inputs.sha }}"

secrets: inherit
secrets: "inherit"

0 comments on commit 3313926

Please sign in to comment.