workflows: Fix apt installation in npm-update
GitHub's base VMs don't automatically refresh package indexes, so it can happen that one of the package dependencies get out of date and are not available on the mirrors any more. Run `apt update` first to ensure that the workflow installs the latest packages.
This commit is contained in:
parent
224d9a2a12
commit
8771907002
1 changed files with 3 additions and 1 deletions
4
.github/workflows/npm-update.yml
vendored
4
.github/workflows/npm-update.yml
vendored
|
|
@ -9,7 +9,9 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Set up dependencies
|
- name: Set up dependencies
|
||||||
run: sudo apt-get install -y npm make
|
run: |
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install -y npm make
|
||||||
|
|
||||||
- name: Set up configuration and secrets
|
- name: Set up configuration and secrets
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue