Skip to content

Commit 401fe28

Browse files
authored
flatpak-builder: Add keepBuildDirs flag (#229)
1 parent fc05c5e commit 401fe28

4 files changed

Lines changed: 113252 additions & 116845 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
| `build-dir` | The directory to build the application in. | Optional | `flatpak_app` |
6060
| `repo-dir` | The directory of the flatpak repository. | Optional | `repo` |
6161
| `state-dir` | The directory to store the build state/cache in. | Optional | `.flatpak-builder` |
62+
| `keep-build-dirs` | Keep build directories after the build finishes (passes `--keep-build-dirs` to flatpak-builder). Useful for debugging intermediate files. | Optional | `false` |
6263
| `verbose` | Enable verbosity | Optional | `false` |
6364
| `upload-artifact` | Whether to upload the resulting bundle or not as an artifact | Optional | `true` |
6465

flatpak-builder/action.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ inputs:
5656
Defines the cache-key to use.
5757
Defaults to flatpak-builder-${arch}-${sha256(manifestPath)}
5858
required: false
59+
keep-build-dirs:
60+
description: >
61+
Keep build directories after the build finishes, passing `--keep-build-dirs` flag
62+
to flatpak-builder.
63+
Possible values: true, enabled, yes, y. Defaults to false.
64+
required: false
65+
default: "false"
5966
branch:
6067
description: The flatpak branch.
6168
default: "master"

0 commit comments

Comments
 (0)