Commit 0a63139
authored
feat(flatpak-builder): Allow configurable build/repo/state dirs (#237)
* feat(flatpak-builder): Allow configurable build/repo/state dirs
Previously, the flatpak-builder action used hardcoded directories for the build output, local repository, and build state. This change introduces new input parameters to make these directories configurable:
- 'build-dir': Specifies the directory for the application build output.
- 'repo-name': Specifies the directory for the flatpak repository.
- 'state-dir': Specifies the directory to store the build cache.
This flexibility is crucial for environments like GitHub Actions, where default working directories might have limited space. By allowing users to specify paths, they can leverage volume mountpoints (e.g., /mnt) that offer more disk space, preventing "running out of space" errors during the build process.
Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com>
* feat(ci): Add flatpak-builder dedicated path params test job
Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com>
* refactor: Rename repo-name to repo-dir for clarity
Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com>
* ci: Add verification for created flatpak directories
Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com>
* ci: update flatpak-builder action repo-dir parameter
Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com>
---------
Signed-off-by: Zeglius <33781398+Zeglius@users.noreply.github.com>1 parent ad1b66e commit 0a63139
5 files changed
Lines changed: 2180 additions & 2130 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
89 | 117 | | |
90 | 118 | | |
91 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
62 | 68 | | |
63 | 69 | | |
64 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
76 | 88 | | |
77 | 89 | | |
78 | 90 | | |
| |||
0 commit comments