Skip to content

Release internal patch #12

Release internal patch

Release internal patch #12

# What?
#
# Tag and release an arbitrary sha. Uploads to an internal archive for further processing.
#
# How?
#
# After checking out and testing the provided sha, 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
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.postgres\""
required: true
defaults:
run:
shell: "bash"
env:
PYTHON_TARGET_VERSION: 3.11
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 43 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. In .github/workflows/release-internal.yml (Line: 43, Col: 11): Error from called workflow dbt-labs/dbt-release/.github/workflows/internal-archive-release.yml@mp/finish_internal_workflow (Line: 177, Col: 5): Unexpected value 'uses' In .github/workflows/release-internal.yml (Line: 43, Col: 11): Error from called workflow dbt-labs/dbt-release/.github/workflows/internal-archive-release.yml@mp/finish_internal_workflow (Line: 178, Col: 5): Unexpected value 'with'
with:
version_number: "${{ inputs.version_number }}"
package_test_command: "${{ inputs.package_test_command }}"
dbms_name: "postgres"
sha: "${{ inputs.sha }}"
secrets: "inherit"