Comments (7)
@fambon I started work on this and was curious what you thought about this. I could support just PPA or other repos in general; it is just more verbose.
For example:
apt-add-repository 'deb http://myserver/path/to/repo stable myrepo'
apt-add-repository 'http://myserver/path/to/repo myrepo'
apt-add-repository 'https://packages.medibuntu.org free non-free'
apt-add-repository http://extras.ubuntu.com/ubuntu
apt-add-repository ppa:user/repository
apt-add-repository ppa:user/distro/repository
apt-add-repository multiverse
Would it make sense to support more than just PPA?
from cache-apt-pkgs-action.
This is an interesting case. It would be relatively simple to add and may be more intuitive. WDYT?
from cache-apt-pkgs-action.
Eventually, I added a step to my workflow, just before the apt-cache action :-)
that step simply adds the ppa, and all goes fine:
installed package is that of the ppa, and cached.
steps:
- uses: actions/checkout@v1
- run:|
sudo add-apt-repository ppa:saiarcot895/chromium-beta
sudo apt-get update
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: chromium-chromedriver postgresql postgresql-contrib
version: 1.0
- run: make tests
[...]
from cache-apt-pkgs-action.
Well, if the action provides for the extra parameter/commands, sure, it's easier on the user's side :-)
I closed the issue because I though that adding the extra step in the workflow was the Β«expectedΒ» way to do it, considering it's pretty simple to do, once you figure it out, but we can re-open if you think the feature is worth adding.
from cache-apt-pkgs-action.
seems to call for the general form π
from cache-apt-pkgs-action.
Do you need support finishing this feature? Would love to use this π
from cache-apt-pkgs-action.
Support is always welcome. π―
Happy to look at any PRs. Make sure to PR from dev branch and add a corresponding test in https://github.com/awalsh128/cache-apt-pkgs-action-ci. We can then add the staging and prod tests as we graduate through those branches.
Master is broken right now too, so that will need to get fixed before we pull from staging.
from cache-apt-pkgs-action.
Related Issues (20)
- Verifying packages is slow HOT 3
- Improperly caching libnewlib-arm-none-eabi HOT 3
- `apt-cache show` fails on package that does exist (`libtk8.6`) HOT 3
- Fails to install on self-hosted runners HOT 2
- tar: Cowardly refusing to create an empty archive HOT 7
- Cache is installed on first run, not available when restored HOT 3
- Report bug issue using open source rockery HOT 1
- "Packages argument cannot be empty." even if `PACKAGES` is set. HOT 2
- Thoughts on caching `apt update`? HOT 3
- Please tag a release HOT 11
- What happened to the v1 tag? HOT 3
- apt-cache does not find packages with nektos/act HOT 6
- Exec Format Error on ARM Runner with apt_query HOT 4
- arm64 support. HOT 6
- Migrate Bash logic to Golang binary. HOT 1
- tar: u: Cannot stat: No such file or directory
- Error about apt package list being not signed HOT 2
- Cache contains all packages if used multiple times HOT 2
- Failing on v1.2.4 HOT 18
- tar Cannot stat: No such file or directory HOT 28
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cache-apt-pkgs-action.