Skip to content

Add non_image_commands to action #17

Add non_image_commands to action

Add non_image_commands to action #17

name: Test shrink_bootable_partition
on:
push:
branches:
- 'main'
- 'releases/**'
pull_request:
workflow_dispatch:
jobs:
optimized:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./ # pguyot/arm-runner-action@HEAD
id: shrink
with:
base_image: https://github.com/Joshua-Riek/ubuntu-rockchip/releases/download/v2.2.1/ubuntu-24.04-preinstalled-server-arm64-orangepi-5.img.xz
optimize_image: yes
commands: |
echo "Shrink Bootable Partition"
- name: Check image
run: |
parted --script ${{ steps.shrink.outputs.image }} print free | tail -n2 | head -n1 | grep -c "boot, esp"