From ca43106d3a9621bfa65ad67f8eeafed93378d277 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20=C5=81uczak?= Date: Thu, 12 Dec 2024 10:13:17 +0100 Subject: [PATCH] release test 2 --- .github/workflows/release.yaml | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) 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: |