Skip to content

Commit

Permalink
build: Fix GitHub Action that tars Helm
Browse files Browse the repository at this point in the history
Signed-off-by: Leonard Goodell <[email protected]>
  • Loading branch information
Leonard Goodell committed Dec 4, 2023
1 parent f8cf6bb commit c0273a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/github-action-ghr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
- name: tar zip edgex helm
shell: bash
run: |
(cd $GITHUB_WORKSPACE && tar -czvf edgex-helm.tar.gz .)
(cd $GITHUB_WORKSPACE/.. && tar --exclude="*.git*" -czvf edgex-helm.tar.gz edgex-helm)
- name: upload helm tarball release artifact
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ github.workspace}}/edgex-helm.tar.gz
file: ${{ github.workspace}}/../edgex-helm.tar.gz
asset_name: edgex-helm.tar.gz
tag: ${{ github.ref }}
overwrite: true
Expand Down

0 comments on commit c0273a7

Please sign in to comment.