diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3bb094d..0724cd7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -2,8 +2,8 @@ name: Release All on: push: - # tags: - # - "v*" + tags: + - "v*" jobs: release: @@ -31,25 +31,11 @@ jobs: mkdir -p packaged helm package charts/* --destination packaged - - name: Create Release - id: create_release - uses: actions/create-release@v1 + - name: Release + uses: softprops/action-gh-release@v2 with: - tag_name: ${{ github.ref_name }} - release_name: "Release ${{ github.ref_name }}" - body: "Release for ${{ github.ref_name }} including packaged Helm charts." - draft: false - prerelease: false - env: - GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - - - name: Upload Release Assets - uses: actions/upload-release-asset@v1 - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./packaged - asset_name: Helm_Charts - asset_content_type: application/x-tar + files: | + packaged/* - name: Update index.yaml in gh-pages run: |