Copilot
6f410de124
Merge 80a3ec4f31 into 58600a5c77
2026-07-02 09:47:51 +00:00
copilot-swe-agent[bot]
80a3ec4f31
fix: clarify magic numbers in apt.go with inline comments
2026-07-02 09:47:47 +00:00
copilot-swe-agent[bot]
e31b9eab1a
fix: add missing testlog replay file for ghostscript misidentified-as-virtual test
2026-07-02 09:46:33 +00:00
copilot-swe-agent[bot]
8023387332
fix: resolve real packages mis-identified as virtual in getNonVirtualPackage
...
- Handle empty Reverse Provides by falling back to the Versions section,
returning the package itself (fixes ghostscript regression, issue #218 )
- Handle inline "Reverse Provides: name version" header+entry format
- Add regression unit tests and integration test with replay log
- Address code review: clarify inline-header fallthrough comment and add
edge-case test for inline header with no parseable entry
2026-07-02 07:07:19 +00:00
copilot-swe-agent[bot]
5c6a2c435f
Fix CI: update gir1.2-gdkpixbuf-2.0 expected version from 3ubuntu3.2 to 3ubuntu3.3
2026-07-02 06:53:15 +00:00
copilot-swe-agent[bot]
98115449cc
Initial plan
2026-07-02 06:42:20 +00:00
awalsh128
58600a5c77
Merge branch 'master' of https://github.com/awalsh128/cache-apt-pkgs-action
2026-06-29 23:15:44 -07:00
awalsh128
6d362b84d4
Put v1 in maintenance mode.
2026-06-29 23:15:16 -07:00
copilot-swe-agent[bot]
553a35bb8e
Refactor: extract ARCH_DIRS array to eliminate duplication in consolidate-release
2026-06-29 23:00:54 -07:00
copilot-swe-agent[bot]
aecf4c42e4
Fix create-release CI failure: consolidate release artifacts and restrict to workflow_dispatch only
2026-06-29 23:00:54 -07:00
awalsh128
9f817f32fd
Merge branch 'master' of https://github.com/awalsh128/cache-apt-pkgs-action
2026-06-29 22:48:17 -07:00
awalsh128
c107d9850d
Bump all action dependency versions and pin them
2026-06-29 22:47:54 -07:00
copilot-swe-agent[bot]
b3b266d824
fix: ensure create-release job is skipped in dry-run (workflow_call) mode
2026-06-29 22:40:59 -07:00
copilot-swe-agent[bot]
5602509099
fix: address code review feedback in distribute.sh
2026-06-29 22:40:59 -07:00
copilot-swe-agent[bot]
a50a475226
fix: create scripts/distribute.sh for build-distribute workflow
2026-06-29 22:40:59 -07:00
awalsh128
869c1d6651
Revert "add shellcheck linting"
...
This reverts commit e58a49f1de .
2026-06-29 22:29:52 -07:00
Michael Herger
22ad28f4ce
Update README with deprecation notice for 'latest'
...
Added note about deprecation of the 'latest' symbol.
2026-06-27 13:41:09 -07:00
Michael Herger
b9c7b1c1a2
Fix version labels and update action version references
...
Updated version labels and action versions in README. `latest` is deprecated. This change should be reflected in the documentation.
2026-06-27 13:41:09 -07:00
copilot-swe-agent[bot]
5513791f75
fix: handle apt showpkg warnings
2026-06-13 16:56:35 -07:00
copilot-swe-agent[bot]
fe5b289324
test: add apt warning regression coverage
2026-06-13 16:56:35 -07:00
Mahyar McDonald
e58a49f1de
add shellcheck linting
...
- Updated variable expansions to use double quotes for better safety and to prevent word splitting.
- Replaced `ls` with `find` in cache operations to handle non-alphanumeric filenames more robustly.
- Enhanced array handling in scripts by using `${*:N}` syntax for concatenation.
- Improved readability and consistency in conditional checks by using `[[ ... ]]` instead of `[ ... ]`.
- Added comments for clarity on specific operations and shellcheck directives.
2026-06-13 16:54:54 -07:00
Copilot
599df6ec23
Fix apt-cache package lookup failure in nektos/act environments ( #172 )
...
* Initial plan
* Add apt package list update to fix nektos/act compatibility
Co-authored-by: awalsh128 <2087466+awalsh128@users.noreply.github.com>
* Remove build artifacts and update .gitignore
Co-authored-by: awalsh128 <2087466+awalsh128@users.noreply.github.com>
* Refactor apt list update logic into shared library function
Co-authored-by: awalsh128 <2087466+awalsh128@users.noreply.github.com>
* Only update apt lists when running in nektos/act environment
Co-authored-by: awalsh128 <2087466+awalsh128@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: awalsh128 <2087466+awalsh128@users.noreply.github.com>
Co-authored-by: Andrew Walsh <awalsh128@gmail.com>
2026-06-13 16:49:12 -07:00
Copilot
cd5ee21d96
[WIP] Fix test workflows for actions ( #184 )
...
* Initial plan
* Fix test workflows to download artifacts and use local action
- Add needs: [build_binaries] to all test jobs that use the action
- Replace remote action references with local (uses: ./)
- Add checkout step where missing
- Add artifact download and distribute directory setup before action usage
- This ensures binaries built by build_binaries job are available when tests run
Co-authored-by: awalsh128 <2087466+awalsh128@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: awalsh128 <2087466+awalsh128@users.noreply.github.com>
2026-06-13 16:46:15 -07:00
George Joseph
c0e0741be6
install_and_cache_pkgs.sh: Fix two issues saving preinst and postinst scripts. ( #195 )
...
1. The logic for listing the files to be cached was using `&&`s between
the listing of the package files, the preinst script and postinst script.
Therefore if there wasn't a preinst script, a postinst script wasn't
checked for.
2. get_install_script_filepath was being passed an empty root file path
so it would never find any files.
Resolves : #194
2026-06-13 16:24:40 -07:00
Copilot
497648d2e1
Apply PR #193 dependency pinning to action.yml (overwrite current action refs) ( #201 )
...
* Bump actions/cache off of Node 20
* Bump actions/upload-artifact off of Node 20
---------
Co-authored-by: Sebastian P <241632094+immoseb@users.noreply.github.com>
2026-06-13 16:16:10 -07:00
Paul Keen
681749ae56
fix: upgrade actions/cache v4→v5 and upload-artifact v4→v7 (Node 24) ( #198 )
...
Node.js 20 actions are deprecated — GitHub will force Node.js 24
starting June 2, 2026.
- actions/cache/restore v4 → v5
- actions/cache/save v4 → v5
- actions/upload-artifact v4.6.2 → v7
Using version tags for clarity.
See: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
2026-06-13 16:02:10 -07:00
Dane Wilson
acb598e5dd
Pin actions for immutable and secure dependency versions ( #175 )
...
Pin dependency actions per security best practices.
https://github.blog/changelog/2025-08-15-github-actions-policy-now-supports-blocking-and-sha-pinning-actions
2025-10-03 23:35:39 -07:00
Copilot
23602f4229
Add support for third-party PPA repositories via add-repository parameter ( #173 )
...
* Initial plan
* Add add-repository parameter support for third-party PPAs
Co-authored-by: awalsh128 <2087466+awalsh128@users.noreply.github.com>
* Add validation and complete PPA repository support implementation
Co-authored-by: awalsh128 <2087466+awalsh128@users.noreply.github.com>
* Remove accidentally committed log file and update .gitignore
Co-authored-by: awalsh128 <2087466+awalsh128@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: awalsh128 <2087466+awalsh128@users.noreply.github.com>
2025-09-30 01:06:22 -07:00
Copilot
2ae65d5bbf
Fix ls error when no tar files exist in cache restore ( #170 )
...
* Initial plan
* Fix ls error when no tar files exist in cache restore
Co-authored-by: awalsh128 <2087466+awalsh128@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: awalsh128 <2087466+awalsh128@users.noreply.github.com>
2025-09-30 01:06:02 -07:00
awalsh128
9f7a885e33
Support symlinks and their targets.
2025-08-29 21:40:34 -07:00
Takahiro Ueda
a605dbde2a
Add empty_packages_behavior option to handle empty package list ( #154 )
...
Available options: 'error' (default), 'warn' and 'ignore'.
2025-08-16 19:34:34 -07:00
awalsh128
2c09a5e66d
Binary for https://github.com/awalsh128/cache-apt-pkgs-action/pull/160
2025-08-10 17:15:27 -07:00
Sébastien Morais
9a146f43d1
fix: skip invalid lines ( #160 )
2025-08-10 17:11:12 -07:00
Mike Tesch
cbdbab28e6
Automatically append the OS architecture to the cache key ( #150 )
2025-08-10 13:24:23 -07:00
Andrew Walsh
23ccb675d9
Update README.md
2025-07-07 20:37:29 -07:00
Andrew Walsh
db548ecc55
Update README.md
2025-07-07 20:35:48 -07:00
Khyber Sen
4c82c3ccdc
Remove GitHub URL shorteners (git.io) as they no longer work. ( #164 )
...
Fixes #163 .
2025-07-07 20:15:12 -07:00
awalsh128
7ca5f46d06
Fix exec error.
2025-03-16 14:39:03 -07:00
Andrew Walsh
2330cb6dfb
Add support for virtual packages and break out APT logic into common library. ( #155 )
...
* Add support for virtual packages and break out APT logic into common library.
* Update binaries from commit 128de25ccb
2025-03-16 13:05:35 -07:00
Andrew Walsh
128de25ccb
Add support for virtual packages and break out APT logic into common library. ( #153 )
2025-03-16 12:35:38 -07:00
Bradley Scott
13d2226e13
Avoid using xargs when creating package tarballs ( #136 )
2025-02-04 10:08:04 -08:00
Ülgen Sarıkavak
d1a184e480
Update actions/checkout versions in README ( #148 )
2025-02-03 11:42:51 -08:00
Jacco Broeren
dfe9c8af34
fix: remove timestamps from loglines ( #146 )
2025-01-23 20:00:46 -08:00
Max Schwenk
5902b33ae2
Upgrade to cache v4 ( #140 )
2025-01-09 11:16:31 -08:00
Andrew Walsh
f2fc6d1af4
Explicitly don't fail on error in library calls (required for conditonals)
2024-03-03 14:39:27 -08:00
Oliver Kopp
a6c3917cc9
Add arm64 binary ( #127 )
...
* Add support for arm64 APT in Go apt-query binary.
2024-03-01 12:59:14 -08:00
Andrew Walsh
2555a377df
Bump force reload to accommodate update on cache action save version. #122
2024-02-13 21:42:01 -08:00
Hadrien G
75ab37ec52
Use matching versions of actions/cache actions ( #123 )
...
Needed to finish migration to node20 + probably wiser overall to use matching versions of the caching actions.
2024-02-13 21:38:36 -08:00
Andrew Walsh
a9d925863b
Bump global version of cache.
...
Force cache reload for new version of cache action.
2024-02-13 11:36:57 -08:00
Daniel Possenriede
5c74a020dc
Bump actions/cache/restore to v4 ( #120 )
2024-02-01 13:13:10 -08:00