metanorma / ci

Build scripts for Metanorma, works with continuous integration
3 stars 2 forks source link

libreoffice-setup-action: Add `apt-get update` #180

Closed hmdne closed 3 months ago

hmdne commented 3 months ago

In coradoc, we need Libreoffice present to run our tests, due to its w2a component. Libreoffice is provisioned with the libreoffice-setup-action. Unfortunately, quite often the tests are failing due to package cache being outdated - see for instance [1]. This commit ensures that we update the package cache each time before Libreoffice install is triggered.

[1] https://github.com/metanorma/coradoc/actions/runs/10433626451/job/28897219676?pr=117

Metanorma PR checklist

ronaldtse commented 3 months ago

It’s good practice anyway to update the package repos. Thanks!