Commit graph

142 commits

Author SHA1 Message Date
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
awalsh128 1372e9e2e7 Publish push event for master too. 2021-10-17 13:06:35 -07:00
Andrew Walsh d6265bde5b
Merge pull request #7 from awalsh128/staging
Merge from staging.
2021-10-16 22:53:54 -07:00
awalsh128 407650fe3b Append cache key directly to env. 2021-10-16 22:46:41 -07:00
awalsh128 ac4bf152a0 Don't fail on error because this is expected. 2021-10-16 22:44:43 -07:00
awalsh128 412b31cb70 Align indentation. 2021-10-16 22:41:42 -07:00
awalsh128 40818dacf6 Fix conditional. 2021-10-16 22:39:43 -07:00
awalsh128 8df0022f2d Extra character. 2021-10-16 22:37:51 -07:00
awalsh128 82c659a794 Validate version and break out cache key creation logic. 2021-10-16 22:37:18 -07:00
awalsh128 3dc9d0c3ae Fix variable reference. 2021-10-16 22:10:40 -07:00
awalsh128 7313869349 Fix missing command. 2021-10-16 22:04:08 -07:00
awalsh128 9c18c92e77 Hash on content and not on file state. 2021-10-16 22:02:56 -07:00
awalsh128 08d1b85370 Add better diagnostics. 2021-10-16 21:45:24 -07:00
awalsh128 e558e74c19 Full qualify paths. 2021-10-16 21:23:27 -07:00
awalsh128 6c13cf414f Fail script on any error. 2021-10-16 21:17:55 -07:00
awalsh128 c014946be0 Added coment to esoteric expression. 2021-10-16 21:17:41 -07:00
awalsh128 2530518f4a Try again. 2021-10-16 13:16:36 -07:00
awalsh128 dcae10197c Update output to emit false. 2021-10-16 13:10:59 -07:00
awalsh128 91e3a98133 Update packages after restore. 2021-10-16 13:00:45 -07:00
awalsh128 93efeeaebb Fix package count reporting. 2021-10-16 12:58:23 -07:00
awalsh128 2780a91363 Change file pathing to see if hashFiles works. 2021-10-16 12:48:07 -07:00
awalsh128 6dbaadfc1e Fix script syntax. 2021-10-16 11:34:14 -07:00
awalsh128 7dfe2c32f2 Add versioning. 2021-10-16 11:34:03 -07:00
awalsh128 d88f9cf209 Another script name fix. :( 2021-10-16 11:25:42 -07:00
awalsh128 c29b0d7f9a Fix script reference. 2021-10-16 11:22:48 -07:00
awalsh128 132be8a450 More fixes. Gotta love not having tests. directly for GitHub actions. 2021-10-16 11:19:36 -07:00
awalsh128 d3f2f7ce23 Fix conditionals. 2021-10-16 11:15:06 -07:00
awalsh128 7a02db3b2e Fix if variable. 2021-10-16 10:54:31 -07:00
awalsh128 847677393b Merge branch 'master' of https://github.com/awalsh128/cache-apt-pkgs-action 2021-10-16 10:19:26 -07:00
awalsh128 f52ade2b39 Update example wording. 2021-10-16 10:19:15 -07:00
awalsh128 7c507492e5 Update publish conditions. 2021-10-16 10:19:02 -07:00
Andrew Walsh f4621ed88c
Update README.md 2021-10-14 17:38:13 -07:00
awalsh128 c8e67dd896 Update README.md to not reflect cache keys since it is now abstracted. 2021-10-13 22:26:29 -07:00
awalsh128 0e6aefe0f3 Fix test status badge. 2021-10-13 22:19:26 -07:00
awalsh128 3ac364cc33 Add branding to action.yml 2021-10-13 22:16:32 -07:00
awalsh128 dd75628fb6 Move tests badge to CI tests. 2021-10-13 22:08:02 -07:00
awalsh128 f395e7cbbb Test to staging 2021-10-13 22:00:46 -07:00
awalsh128 b07ee5cce8 Initial commit. 2021-10-13 21:11:27 -07:00