Skip to content

Commit

Permalink
Latest release step is not really needed
Browse files Browse the repository at this point in the history
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
  • Loading branch information
mauromorales committed Jul 14, 2023
1 parent 2c92949 commit 0fcd677
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions .github/workflows/reusable-upgrade-latest-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0fcd677

Please sign in to comment.