Skip to content

Commit

Permalink
Merge pull request #30 from lenny-intel/fix-tag-action
Browse files Browse the repository at this point in the history
build: Fix GitHub Action that tars Helm
  • Loading branch information
bnevis-i authored Dec 4, 2023
2 parents f8cf6bb + c0273a7 commit 0467c22
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 0467c22

Please sign in to comment.