Commit graph

174 commits

Author SHA1 Message Date
awalsh128 809bee8acd Fix execute bit on script. 2022-11-23 22:31:57 -08:00
awalsh128 7418306fa2 Restore execute bit for script. 2022-11-23 22:29:57 -08:00
Andrew Walsh d60cdfeedc
Merge branch 'staging' into dev 2022-11-23 22:17:27 -08:00
Andrew Walsh 1084ea7c10
Execute installation scripts and debug mode features. (#64)
* Provide the ability to call Debian package manager installation scripts (i.e. `*.[preinst, postinst]`).
* Introduce a debug mode that runs the scripts in verbose mode and uploads the logs for retrieval.
* Updated README to reflect new features and provided more info on how to use the action versions.
2022-11-19 20:32:52 -08:00
awalsh128 0247276e5a Fix package outputs command. 2022-11-19 19:54:58 -08:00
awalsh128 a307fb6bda Describe action version usage. 2022-11-19 19:48:00 -08:00
awalsh128 f620762daa Link to the issue that started the postinst troubleshooting. 2022-11-19 19:25:57 -08:00
awalsh128 63736e2a81 Debug feature. 2022-11-19 18:53:52 -08:00
awalsh128 aa86a37b2d Add error suppression on file testing. 2022-11-19 17:40:56 -08:00
awalsh128 f076e88841 Fix bugs in install script execution. 2022-11-19 17:20:30 -08:00
awalsh128 2fcdd38327 Restore updated outputs behavior. So strange it is working when I revert. 2022-11-19 16:34:16 -08:00
awalsh128 25fa2fb352 Revert outputs set behavior to see if it fixes outputs issue in dev. 2022-11-19 16:30:55 -08:00
awalsh128 07aa58e2fd Rollback 76128c60a1 2022-11-19 15:58:36 -08:00
awalsh128 76128c60a1 Debug package list issue. 2022-11-19 15:56:08 -08:00
awalsh128 c19c6c35e7 Update description. 2022-11-19 15:53:44 -08:00
awalsh128 db80483921 Add debug option. 2022-11-19 15:52:59 -08:00
awalsh128 ad4e1d0e48 Make artifact names unique. 2022-11-19 15:46:43 -08:00
awalsh128 a3adb15077 Upload action logs for debugging. 2022-11-19 15:39:11 -08:00
awalsh128 b7e5feda77 Minor fix to doc. 2022-11-19 15:17:47 -08:00
awalsh128 e1665e549b Fix param check. 2022-11-19 15:02:25 -08:00
awalsh128 110c8b1c77 Fix execute_install_scripts message to show the right param name. 2022-11-19 14:50:50 -08:00
awalsh128 29bff55cc7 Minor edit ands full install script execution FR. 2022-11-19 14:45:04 -08:00
Mickaël Schoentgen d93c95e39c
Skip apt-fast installation on cache hit (#61) 2022-11-15 07:45:14 -08:00
Andrew Walsh 677fd9bce5
Update deprecated set-output command #58 (#59) 2022-10-30 11:49:55 -07:00
awalsh128 0511abbea1 Rollback accidental commit of new postinst feature. 2022-10-30 11:35:37 -07:00
awalsh128 4b708c1257 Update deprecated option.
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2022-10-30 11:29:22 -07:00
awalsh128 86a813eaa1 Made cache directory variable and more refinements to postinst. 2022-10-15 21:58:58 -07:00
awalsh128 673318d804 Fix postinst bugs and add docs to lib. 2022-09-12 19:28:55 -07:00
awalsh128 e32a1a4ea0 Cover no packages edge case when writing manifest. 2022-09-12 18:39:48 -07:00
awalsh128 270a15701d Removed extraneous line. 2022-09-12 18:31:45 -07:00
awalsh128 7a2a390ac8 Remove bad option. 2022-09-12 18:21:51 -07:00
awalsh128 00e34cb96c Draft of postinst support from issue #44. 2022-09-09 20:35:48 -07:00
Andrew Walsh c85f53ff72
Merge branch 'staging' into dev 2022-09-03 21:39:07 -07:00
Andrew Walsh dc694f2a7e
Remove compression from file caching. (#53) 2022-09-03 21:38:07 -07:00
Andrew Walsh 09f9c08872
Fix permission denied error. (#51) 2022-09-01 14:40:15 -07:00
Andrew Walsh 2e7229dddc
Fix permission denied error. 2022-09-01 14:39:13 -07:00
Andrew Walsh fc1d3efd6e
Update README.md to use latest release in examples. 2022-08-02 23:16:37 -07:00
Andrew Walsh 91b541353e
Fix issues #36, #37, and minor refactors. (#40) (#41)
* Bump license year.
* Fix pre-existing dep bug in issue #36.
* Account for packages without deps.
* Fix bug in issue #37 by combining install and dep listing reads. Ensures only installed deps are cached.
* Fix bad log lines.
* Use apt-fast to show package information and remove CLI warning message.
* Switch to apt-cache for package verification and remove CLI warning message.
2022-08-02 21:14:51 -07:00
Andrew Walsh c5df606b25
Optimize installs with apt-fast and various minor cleanups. (#35)
* Fix cut regression.

Originally fixed in #17. This was reintroduced when master was sync'd to staging.

* Update pre_cache_action.sh

* Switch to CLI safe apt command.

Address concern in issue #23.

* Optimize installs with apt-fast and cleanup logging.
2022-07-23 17:06:17 -07:00
Andrew Walsh 97133735cc
Fix cut regression.
Originally fixed in #17. This was reintroduced when master was sync'd to staging.
2022-07-20 10:58:33 -07:00
Andrew Walsh 704b3e1a64
Merge pull request #27 from awalsh128/staging
Rollup staging to master.
2022-07-19 21:12:46 -07:00
Andrew Walsh c4bc8b6ed5
Merge branch 'master' into staging 2022-07-19 21:12:17 -07:00
awalsh128 e3e8536b71 Add newline at EOF to lib.sh 2022-07-19 21:08:41 -07:00
awalsh128 d3470979cf Fix all-package-version-list output bug. 2022-07-19 21:01:08 -07:00
awalsh128 f1a79a837b Minor bug. 2022-07-19 20:51:50 -07:00
awalsh128 8af57b352e Fix all packages reporting. 2022-07-19 20:46:02 -07:00
awalsh128 1e75d90dc9 Merge script include snippet. 2022-07-19 20:44:04 -07:00
awalsh128 b61cf9a6f1 Copy from staging to dev. 2022-07-19 20:42:48 -07:00
Andrew Walsh a85a2de3b3 Update installation to consider symlinks as well.
Addresses problem raised in #25
2022-07-19 20:34:24 -07:00
awalsh128 c58b29a1aa Merge branch 'staging' of https://github.com/awalsh128/cache-apt-pkgs-action into staging 2022-07-19 20:03:15 -07:00