Skip to content

Commit

Permalink
runs-on: ubuntu-20.04
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Jan 30, 2025
1 parent 1642532 commit bc19611
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_img.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
# Stage 1: Get Current Date and Release Name
get-date-release-name:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
outputs:
release_name: ${{ steps.current-date.outputs.release_name }}
cache_key: ${{ steps.current-date.outputs.cache_key }}
Expand All @@ -35,7 +35,7 @@ jobs:
# Stage 2: Build Image
modify-rpi-image:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
needs: get-date-release-name
outputs:
image-path: ${{ steps.create-image.outputs.image-path }}
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:

# Stage 3: Check if Release Exists and Create if Needed
check-release-or-create:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
needs: [get-date-release-name, modify-rpi-image]
outputs:
release_id: ${{ steps.get-release-id.outputs.release_id }}
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
# Stage 4: Upload to Release
upload-image:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
if: ${{ needs.check-release-or-create.outputs.release_id }}
needs: [modify-rpi-image, check-release-or-create, get-date-release-name]
steps:
Expand Down

0 comments on commit bc19611

Please sign in to comment.