Skip to content
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

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

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

hmdne
Copy link
Contributor

@hmdne hmdne commented Aug 19, 2024

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

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
@ronaldtse ronaldtse merged commit c22b3eb into main Aug 20, 2024
53 checks passed
@ronaldtse ronaldtse deleted the hmdne/libreoffice-apt-get-update branch August 20, 2024 01:02
@ronaldtse
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants