Commit graph

87 commits

Author SHA1 Message Date
awalsh128
b61cf9a6f1 Copy from staging to dev. 2022-07-19 20:42:48 -07:00
awalsh128
4d55f8a4fb Fix literal quotes and make variables use best practice. 2022-06-03 21:51:44 -07:00
awalsh128
6fe1db8111 Merge branch 'dev' of https://github.com/awalsh128/cache-apt-pkgs-action into dev 2022-06-03 21:45:03 -07:00
awalsh128
49b4515f51 Fix arg ordinals and package sort return. 2022-06-03 21:45:00 -07:00
Andrew Walsh
c25bf34f45
Merge pull request #19 from awalsh128/staging
Sync state of staging to dev with experimental diffs intact.
2022-06-03 21:05:55 -07:00
Andrew Walsh
2719bca2f4
Merge branch 'dev' into staging 2022-06-03 21:04:43 -07:00
Andrew Walsh
c86218038a
Merge pull request #18 from awalsh128/revert-13-cache-non-explicitly-listed-pacakges
Revert "Cache non explicitly listed packages"
2022-06-03 20:31:30 -07:00
Andrew Walsh
17cdbf8735
Revert "Cache non explicitly listed packages" 2022-06-03 20:30:40 -07:00
awalsh128
9568dc9783 Change include command. 2022-03-26 12:48:16 -07:00
awalsh128
e68df30bd6 Experimental version. Cleaned up syntax and created common library functions. 2022-03-26 12:42:40 -07:00
Andrew Walsh
ea3bc969b2
Merge pull request #13 from Natrinicle/cache-non-explicitly-listed-pacakges
Cache non explicitly listed packages
2022-03-18 22:18:01 -07:00
Nate Bohman
6d622023ef
Also Cache Non-Explicitly Listed APT PKGs
Apt installs more packages than just those explicitly listed. This can
lead to issues of missing files when the cache is restored.
2022-03-18 09:39:17 -06:00
Nate Bohman
a56b21237f
Check APT Package Versions
Make sure to keep the cache up to date as package versions change
upstream. Also, allow specific package versions to be selected.
2022-03-16 13:38:50 -06:00
Andrew Walsh
c7ec949338
Merge pull request #10 from jroddev/escape-regex-control
g++ install is failing because + is treated as a regex control character
2022-02-14 09:45:56 -08:00
jroddev
13d7657f54 g++ install is failing because + is treated as a regex control character 2022-02-13 16:54:39 +11:00
Andrew Walsh
4d3d45c02f
Merge pull request #9 from awalsh128/staging
Merge from staging with new features.
2021-10-22 00:29:33 -07:00
awalsh128
b80ada0329 Move trailing comma for manifest list. 2021-10-22 00:16:17 -07:00
awalsh128
58be009328 Work around cache-hit bug in cache action. 2021-10-22 00:12:56 -07:00
awalsh128
edd1138fdd Write out manifest. 2021-10-21 23:28:06 -07:00
awalsh128
8f2c275875 Remove refresh feature. 2021-10-21 23:04:42 -07:00
awalsh128
db1f7473f6 Separate out version on manifest reporting. 2021-10-21 22:44:51 -07:00
awalsh128
dca3d33521 Get rid of package variables. 2021-10-21 22:42:51 -07:00
awalsh128
125244158b Remove package manifest write for restores. 2021-10-21 22:29:23 -07:00
awalsh128
1decb12863 Filter packages correctly. 2021-10-21 22:27:23 -07:00
awalsh128
13b8ebb8f7 Fix package number reported. 2021-10-21 22:16:49 -07:00
awalsh128
9ca1c60417 Add more reporting to restore phase. 2021-10-21 22:15:05 -07:00
awalsh128
6d2730c8bf Fix manifest location. 2021-10-21 22:01:57 -07:00
awalsh128
b67439fdd6 Only search for archives in cache directory. 2021-10-21 21:45:37 -07:00
awalsh128
2516d0fc19 Minor edit to reporting. 2021-10-21 21:43:24 -07:00
awalsh128
4e7f5ac971 Fix conditionals for install and restore. 2021-10-21 21:39:47 -07:00
awalsh128
dec2761421 Remove blank line on reporting. 2021-10-21 21:30:49 -07:00
awalsh128
95b1f6f538 Remove extraneous arg. 2021-10-21 21:30:33 -07:00
awalsh128
d6b9426197 Update relative script directory. 2021-10-21 21:22:07 -07:00
awalsh128
3742bed6fe Remove cache directory create now that it is done in pre cache. 2021-10-21 21:13:23 -07:00
awalsh128
38009341b0 Multiline pre cache for greater readability. 2021-10-21 21:13:01 -07:00
awalsh128
911023297b Make cache directory first thing. 2021-10-21 21:12:42 -07:00
awalsh128
63a7ea6f1c Fix post cache action args. 2021-10-21 21:03:30 -07:00
awalsh128
e5a9854ee1 Consolidate steps, and make reporting less verbose. 2021-10-21 20:57:52 -07:00
Andrew Walsh
89dc8d2e9e
Merge pull request #8 from awalsh128/staging
Merge fixes and new features.
2021-10-21 17:08:27 -07:00
awalsh128
a191e661e6 Fix version reporting. 2021-10-21 16:05:02 -07:00
awalsh128
bd28d4bdd2 Add diagnostic reporting for validation phase. 2021-10-21 16:00:06 -07:00
awalsh128
17fec907ec Minor fix to echo. 2021-10-21 15:58:33 -07:00
awalsh128
35fdd91f0f Add more messaging to scripts. 2021-10-21 15:54:29 -07:00
awalsh128
feb88c8d01 Fix output setter. 2021-10-21 15:54:16 -07:00
Andrew Walsh
04a2e9018f
Update testing badges. 2021-10-21 15:46:36 -07:00
awalsh128
76fa489e74 Add refresh and package version I/O. 2021-10-21 15:44:19 -07:00
awalsh128
aa046d0049 Merge branch 'master' of https://github.com/awalsh128/cache-apt-pkgs-action 2021-10-21 15:34:51 -07:00
awalsh128
ca95c0de72 Add better messaging. 2021-10-21 12:41:47 -07:00
awalsh128
9512f95182 Update APT package metadata on installs to avoid errors due to staleness. 2021-10-21 12:25:56 -07:00
Andrew Walsh
7a7e2ba767
Remove APT upgrade on restore.
This could affect performance and make the action moot. Will add better version reporting so the user knows what cache they are locking into.
2021-10-20 20:31:24 -07:00