Skip to content

Commit

Permalink
adding conditional for diet pi to build
Browse files Browse the repository at this point in the history
  • Loading branch information
SelfhostedPro committed Apr 22, 2024
1 parent acd31e2 commit 5335d4e
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/armbian_custom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,6 @@ jobs:
run: |
ls -R build/output/images/
- name: Decompress Image
run: |
sudo unxz -k build/output/images/*.xz
- name: List all outputs
run: |
ls -R build/output/images/
# Upload Armbian images to artifacts (we'll download them and add them to the release later).
- name: Upload Armbian Artifacts for Release
id: artifacts
Expand All @@ -145,7 +137,18 @@ jobs:
build/output/images/*
!build/output/images/*.img
- name: Decompress Image
if: env.BUILD_DIETPI == "true"
run: |
sudo unxz -k build/output/images/*.xz
- name: List all outputs
if: env.BUILD_DIETPI == "true"
run: |
ls -R build/output/images/
- name: Build Diet PI
if: env.BUILD_DIETPI == "true"
shell: bash
env:
G_GITOWNER: MichaIng
Expand Down

0 comments on commit 5335d4e

Please sign in to comment.