From 0fcd6772051cb9d8b68a75c34177fcb95ebc7b7e Mon Sep 17 00:00:00 2001 From: Mauro Morales Date: Fri, 14 Jul 2023 11:18:53 +0200 Subject: [PATCH] Latest release step is not really needed Signed-off-by: Mauro Morales --- .../reusable-upgrade-latest-test.yaml | 24 +++++-------------- 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/.github/workflows/reusable-upgrade-latest-test.yaml b/.github/workflows/reusable-upgrade-latest-test.yaml index 65006a0a02..c3a9578121 100644 --- a/.github/workflows/reusable-upgrade-latest-test.yaml +++ b/.github/workflows/reusable-upgrade-latest-test.yaml @@ -8,22 +8,7 @@ on: type: string jobs: - # This job is used to download the latest release and then used by the other job - latest-release: - runs-on: ubuntu-latest - steps: - - uses: robinraju/release-downloader@v1.8 - with: - # A flag to set the download target as latest release - # The default value is 'false' - latest: true - repository: kairos-io/kairos - fileName: '*ubuntu-v*.iso' - out-file-path: last-release - build: - needs: - - latest-release runs-on: ubuntu-latest steps: - name: Release space from worker @@ -61,10 +46,13 @@ jobs: - uses: actions/checkout@v3 - run: | git fetch --prune --unshallow - - name: Download latest release - uses: actions/download-artifact@v3 + - uses: robinraju/release-downloader@v1.8 with: - name: latest-release.zip + # A flag to set the download target as latest release + # The default value is 'false' + latest: true + fileName: '*${{ inputs.flavor }}-v*.iso' + out-file-path: "" - name: Download ISO id: iso uses: actions/download-artifact@v3