Skip to content

Commit

Permalink
add changelog to archive
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-rogers-dbt committed Feb 23, 2024
1 parent 4dee1a0 commit 7b8a93d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/actions/build-hatch/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ inputs:
artifacts-name:
description: Where to upload the artifacts
default: "dist"
changelog-path:
description: Path to changelog file
required: true

runs:
using: composite
Expand All @@ -33,5 +36,7 @@ runs:
uses: actions/upload-artifact@v3
with:
name: ${{ inputs.artifacts-name}}
path: ${{ inputs.working-dir }}dist/
path: |
${{ inputs.changelog-path }}
${{ inputs.working-dir }}dist/
retention-days: 3
2 changes: 1 addition & 1 deletion .github/workflows/github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ jobs:
uses: actions/download-artifact@v3
with:
name: ${{ inputs.artifact_name }}
path: ./dist/
path: .

- name: "[DEBUG] Display Structure Of All Downloaded Files"
run: ls -R
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,14 @@ jobs:
if: ${{ inputs.package == 'dbt-adapters' }}
uses: ./.github/actions/build-hatch
with:
changelog-path: ${{ needs.bump-version-generate-changelog.outputs.changelog_path }}
artifacts-name: ${{ inputs.version_number }}-${{ inputs.package }}-${{ inputs.deploy-to }}

- name: Build `dbt-tests-adapter`
if: ${{ inputs.package == 'dbt-tests-adapter' }}
uses: ./.github/actions/build-hatch
with:
changelog-path: ${{ needs.bump-version-generate-changelog.outputs.changelog_path }}
working-dir: "./dbt-tests-adapter/"
artifacts-name: ${{ inputs.version_number }}-${{ inputs.package }}-${{ inputs.deploy-to }}

Expand Down

0 comments on commit 7b8a93d

Please sign in to comment.