Skip to content

Commit

Permalink
adding dietpi into the mix
Browse files Browse the repository at this point in the history
  • Loading branch information
SelfhostedPro committed Apr 20, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 1cb25ae commit 0eeb6fe
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/armbian_custom.yml
Original file line number Diff line number Diff line change
@@ -111,19 +111,25 @@ jobs:
DESKTOP_APPGROUPS_SELECTED="${DESKTOP_APPGROUPS_SELECTED}" \
DESKTOP_ENVIRONMENT_CONFIG_NAME="${DESKTOP_ENVIRONMENT_CONFIG_NAME}" \
# ENABLE_EXTENSIONS="${{ inputs.armbian_extensions }}" \
COMPRESS_OUTPUTIMAGE="sha,xz" \
COMPRESS_OUTPUTIMAGE="sha,img,xz" \
SHARE_LOG="yes" \
EXPERT="yes"
- name: Upload Artifacts for Release
id: artifacts
uses: actions/upload-artifact@v4
with:
name: "${{ matrix.ui }}-${{ matrix.release }}-${{ matrix.kernel }}"
name: "armbian-${{ matrix.ui }}-${{ matrix.release }}-${{ matrix.kernel }}"
path: |
build/output/images/
build/output/images/*.txt
build/output/images/*.xz
build/output/images/*.xz.sha
- name: Build Diet PI
shell: bash
run: |
sudo bash -c "$(curl -sSf https://raw.githubusercontent.com/MichaIng/DietPi/master/.build/images/dietpi-imager)" 'DietPi-Build' --add-dos-part SOURCE_TYPE='Image' FP_SOURCE_IMG=./build/output/images/*.img
outputs:
artifacts: ${{ steps.artifacts.outputs.artifact-id }}
armbian-artifacts: ${{ steps.artifacts.outputs.artifact-id }}

release:
runs-on: ubuntu-latest
@@ -136,7 +142,7 @@ jobs:
- name: Display structure of downloaded files
run: ls -R
- name: Display Artifact Listing
run: echo "${{ toJson(needs.build-armbian.outputs) }}"
run: echo "${{ toJson(needs.build-armbian.outputs.armbian-artifacts) }}"
- uses: ncipollo/release-action@v1
with:
tag: "${{ env.ARMBIAN_VERSION }}"

0 comments on commit 0eeb6fe

Please sign in to comment.