[jfx16] RFR: 8259639: GitHub actions: build fails on Linux due to missing apt-get update

Pankaj Bansal pbansal at openjdk.java.net
Tue Jan 12 17:48:58 UTC 2021


On Tue, 12 Jan 2021 17:01:40 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

> Simple fix to the `submit.yml` script to run `apt-get update` prior to installing needed packages on Linux. Without this, the request to install packages can fail to find the requested pacakges due to an out-of-date cache.
> 
> Compare the [failing build](https://github.com/kevinrushforth/jfx/actions/runs/480626290) before the fix with the [successful build](https://github.com/kevinrushforth/jfx/actions/runs/480641431) after the fix.
> 
> Note that this is targeted to `jfx16` so that any subsequent pull request for `jfx16` will be able to have a successful build on Linux.

+1

-------------

Marked as reviewed by pbansal (Committer).

PR: https://git.openjdk.java.net/jfx/pull/375


More information about the openjfx-dev mailing list