Skip to content

Release internal patch #46

Release internal patch

Release internal patch #46

# What?
#
# Tag and release an arbitrary ref. Uploads to an internal archive for further processing.
#
# How?
#
# After checking out and testing the provided ref, the image is built and uploaded.
#
# When?
#
# Manual trigger.
name: "Release internal patch"
on:
workflow_dispatch:
inputs:
version_number:
description: "The release version number (i.e. 1.0.0b1)"
type: string
required: true
ref:
description: "The ref (ref - sha or branch name) to use"
type: string
default: "main"
required: true
package_test_command:
description: "Package test command"
type: string
default: "python -c \"import dbt.adapters.postgres\""
required: true
defaults:
run:
shell: "bash"
jobs:
invoke-reusable-workflow:
name: "Build and Release Internally"
uses: "dbt-labs/dbt-release/.github/workflows/internal-archive-release.yml@mp/finish_internal_workflow"

Check failure on line 41 in .github/workflows/release-internal.yml

View workflow run for this annotation

GitHub Actions / Release internal patch

Invalid workflow file

The workflow is not valid. .github/workflows/release-internal.yml (Line: 41, Col: 11): Input sha is required, but not provided while calling. .github/workflows/release-internal.yml (Line: 47, Col: 12): Invalid input, ref is not defined in the referenced workflow.
with:
version_number: "${{ inputs.version_number }}"
package_test_command: "${{ inputs.package_test_command }}"
dbms_name: "postgres"
ref: "${{ inputs.ref }}"
secrets: "inherit"