File tree Expand file tree Collapse file tree 2 files changed +14
-16
lines changed Expand file tree Collapse file tree 2 files changed +14
-16
lines changed Original file line number Diff line number Diff line change @@ -27872,20 +27872,19 @@ var __webpack_exports__ = {};
2787227872const core = __nccwpck_require__(2186);
2787327873const exec = __nccwpck_require__(1514);
2787427874
27875-
2787627875// most @actions toolkit packages have async methods
2787727876async function run() {
2787827877 try {
2787927878 // Qt installer assumes basic requirements that are not installed by
27880- // default on Ubuntu.
27881- if (process.platform === ' linux' ) {
27882- await exec.exec(' sudo apt-get update')
27879+ // default on Ubuntu. 20.04 and newer only.
27880+ if (process.platform === " linux" ) {
27881+ await exec.exec(" sudo apt-get update");
2788327882 await exec.exec(
27884- ' sudo apt-get install -y libegl1 libdbus-1-3 libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0 x11-utils libxcb-cursor0 libopengl0 libegl1-mesa'
27885- )
27883+ " sudo apt-get install -y libegl1 libdbus-1-3 libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0 x11-utils libxcb-cursor0 libopengl0"
27884+ );
2788627885 }
2788727886 } catch (error) {
27888- core.setFailed(error.message)
27887+ core.setFailed(error.message);
2788927888 }
2789027889}
2789127890
Original file line number Diff line number Diff line change 1- const core = require ( '@actions/core' ) ;
2- const exec = require ( '@actions/exec' ) ;
3-
1+ const core = require ( "@actions/core" ) ;
2+ const exec = require ( "@actions/exec" ) ;
43
54// most @actions toolkit packages have async methods
65async function run ( ) {
76 try {
87 // Qt installer assumes basic requirements that are not installed by
9- // default on Ubuntu.
10- if ( process . platform === ' linux' ) {
11- await exec . exec ( ' sudo apt-get update' )
8+ // default on Ubuntu. 20.04 and newer only.
9+ if ( process . platform === " linux" ) {
10+ await exec . exec ( " sudo apt-get update" ) ;
1211 await exec . exec (
13- ' sudo apt-get install -y libegl1 libdbus-1-3 libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0 x11-utils libxcb-cursor0 libopengl0 libegl1-mesa'
14- )
12+ " sudo apt-get install -y libegl1 libdbus-1-3 libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0 x11-utils libxcb-cursor0 libopengl0"
13+ ) ;
1514 }
1615 } catch ( error ) {
17- core . setFailed ( error . message )
16+ core . setFailed ( error . message ) ;
1817 }
1918}
2019
You can’t perform that action at this time.
0 commit comments