From 32fca4b84b2149fc561d153ae60b91f62cf2972c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Otto=20Kr=C3=B6pke?= Date: Fri, 16 Jun 2023 07:37:42 +0200 Subject: [PATCH] Update main.yml (#162) --- .github/workflows/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7747995..5583660 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -103,7 +103,7 @@ jobs: with: name: OpenLens-${{ matrix.os }} retention-days: 5 - path: lens/open-lens/dist/OpenLens*${{ env.LENS_VERSION }}-${{ env.BUILD_NUMBER }}*.* + path: lens/open-lens/dist/OpenLens*${{ env.LENS_VERSION }}-${{ env.BUILD_ID }}*.* - name: Generate Changelog run: curl -s https://api.github.com/repos/lensapp/lens/releases/latest | jq -r 'select(.prerelease == false) | .body[0:]' > ${{ github.workspace }}-CHANGELOG.txt @@ -112,9 +112,9 @@ jobs: uses: softprops/action-gh-release@v0.1.15 if: github.ref == 'refs/heads/main' with: - tag_name: v${{ env.LENS_VERSION }}-${{ env.BUILD_NUMBER }} + tag_name: v${{ env.LENS_VERSION }}-${{ env.BUILD_ID }} body_path: ${{ github.workspace }}-CHANGELOG.txt - files: lens/open-lens/dist/OpenLens*${{ env.LENS_VERSION }}-${{ env.BUILD_NUMBER }}*.* + files: lens/open-lens/dist/OpenLens*${{ env.LENS_VERSION }}-${{ env.BUILD_ID }}*.* - name: Latest uses: softprops/action-gh-release@v0.1.15 @@ -122,5 +122,5 @@ jobs: with: tag_name: Latest files: | - lens/open-lens/dist/OpenLens*${{ env.LENS_VERSION }}-${{ env.BUILD_NUMBER }}*.* - lens/open-lens/dist/lates*.yml + lens/open-lens/dist/OpenLens*${{ env.LENS_VERSION }}-${{ env.BUILD_ID }}*.* + #lens/open-lens/dist/lates*.yml