Skip to content

Commit

Permalink
Run apt update in test workflow
Browse files Browse the repository at this point in the history
Avoid "Failed to fetch" error.
  • Loading branch information
cjmayo committed Jul 17, 2023
1 parent 78ce941 commit 47d2093
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/test-gnofract4d.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ jobs:
# dbus-x11 avoids timeouts, failed to execute "dbus-launch"
# gvfs is needed for Gio.AppInfo.launch_default_for_uri()
# libxml2-utils provides xmllint for xml-stripblanks in gresource.xml
run: sudo apt install dbus-x11 gir1.2-gtk-4.0 gvfs libgirepository1.0-dev libxml2-utils xvfb
run: |
sudo apt update
sudo apt install dbus-x11 gir1.2-gtk-4.0 gvfs libgirepository1.0-dev libxml2-utils xvfb
- name: Setup Python
uses: actions/setup-python@v4
with:
Expand Down Expand Up @@ -75,7 +77,9 @@ jobs:
- uses: actions/checkout@v3
- name: Install Ubuntu packages
# libglib2.0-dev-bin provides glib-compile-resources
run: sudo apt install gir1.2-gtk-4.0 libglib2.0-dev-bin libxml2-utils python3-gi
run: |
sudo apt update
sudo apt install gir1.2-gtk-4.0 libglib2.0-dev-bin libxml2-utils python3-gi
- name: Install Tox
run: pip install tox
- name: Build
Expand Down

0 comments on commit 47d2093

Please sign in to comment.