diff --git a/.github/workflows/armbian_custom.yml b/.github/workflows/armbian_custom.yml index 5887533..ed86b32 100644 --- a/.github/workflows/armbian_custom.yml +++ b/.github/workflows/armbian_custom.yml @@ -161,9 +161,26 @@ jobs: #CONFIGS_TO_BOOT: 1 run: | sudo --preserve-env bash -c "$(curl -sSfL 'https://raw.githubusercontent.com/MichaIng/DietPi/imager/.build/images/dietpi-imager')" -i build/output/images/*.img + + - name: List all outputs + if: ${{ env.BUILD_DIETPI == 'true' }} + run: | + ls -R . + + # Upload Armbian images to artifacts (we'll download them and add them to the release later). + - name: Upload DietPi Artifacts for Release + id: artifacts + uses: actions/upload-artifact@v4 + with: + name: "dietpi-${{ matrix.ui }}-${{ matrix.release }}-${{ matrix.kernel }}" + path: | + ./DietPi*.xz + ./DietPi*.sha256 + outputs: armbian-artifacts: ${{ steps.artifacts.outputs.artifact-id }} + release: runs-on: ubuntu-latest needs: [build-armbian]