-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue: APT install works on Github but fails in Act #588
Comments
You need to run |
Solution provided and using |
still does not work for me. I'm trying to install chromedriver and it says:
|
there is no |
Here is the Github action that I tried to install chromedriver with - name: Set up Chromedriver for Selenium
uses: nanasess/setup-chromedriver@v1 This action claims support for
|
then that action is broken, in nanasess/setup-chromedriver#16 there is added a check to install |
Alright, what are my other options to get it installed? The same thing works fine on Github CI, it's only failing on the local machine when running the workflow through act. |
this should work wget "https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"
apt-get install "google-chrome-stable_current_amd64.deb" -f |
Ran this - name: Set up Chromedriver for Selenium
run: |
sudo apt-get update &&
wget "https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb" &&
apt-get install "google-chrome-stable_current_amd64.deb" -f and it failed with this error
It also didn't work with - name: Set up Chromedriver for Selenium
run: |
wget "https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb" &&
dpkg -i "google-chrome-stable_current_amd64.deb" Which threw these errors
|
@masroorhussainv this should work:
|
Found the fix here nektos/act#588 (comment)
Act version
Expected behaviour
When using the
apt install
command to APT install packages, the packages should be installed correctly, as it happens on Github.Actual behaviour
When using the APT command to install APT packages the following error is returned:
Workflow and/or repository
https://github.com/rafaelmotaalves/voicemod-bot
workflow
Steps to reproduce
Execute
act
on the root of the project.act
outputLog
The text was updated successfully, but these errors were encountered: