Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanjli committed May 28, 2024
1 parent 24627d0 commit d071f78
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

GitHub action to process a Raspberry Pi SD card image using [PiShrink](https://github.com/Drewsif/PiShrink).

This action is the inverse of [ethanjli/pigrow-action](https://github.com/ethanjli/pigrow-action).

## Basic Usage Examples

Note: in the below example sequences of GitHub Actions job steps, the URL of the downloaded image
Expand All @@ -28,6 +30,7 @@ downloading a base image, expanding it, and modifying its filesystem (e.g. with
name: shrunken-image
path: large-rpi-sd-card-image.img
if-no-files-found: error
compression-level: 0
overwrite: true
```
Expand All @@ -50,6 +53,7 @@ downloading a base image, expanding it, and modifying its filesystem (e.g. with
name: shrunken-image
path: large-rpi-sd-card-image.img
if-no-files-found: error
compression-level: 0
overwrite: true
```
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ runs:
run: |
flags=""
destination=""
case ${{ inputs.compress }} in
case "${{ inputs.compress }}" in
gzip | gz)
flags="$flags -z"
if [ ! -z "${{ inputs.destination }}" ]; then
Expand Down

0 comments on commit d071f78

Please sign in to comment.