Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
dalance committed Apr 19, 2024
1 parent c0ce1ff commit 3c1639d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ require('./sourcemap-register.js');/******/ (() => { // webpackBootstrap
const path = __nccwpck_require__(1017);
const core = __nccwpck_require__(2186);
const tc = __nccwpck_require__(7784);
const exec = __nccwpck_require__(1514);
const { getDownloadObject } = __nccwpck_require__(918);

async function setup() {
Expand All @@ -24,6 +25,8 @@ async function setup() {

// Expose the tool by adding it to the PATH
core.addPath(path.join(pathToCLI, download.binPath));

await exec.exec('sudo apt-get install -y ccache mold');
} catch (e) {
core.setFailed(e);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const path = require('path');
const core = require('@actions/core');
const tc = require('@actions/tool-cache');
const exec = require('@actions/exec');
const { getDownloadObject } = require('./lib/utils');

async function setup() {
Expand All @@ -18,6 +19,8 @@ async function setup() {

// Expose the tool by adding it to the PATH
core.addPath(path.join(pathToCLI, download.binPath));

await exec.exec('sudo apt-get install -y ccache mold');
} catch (e) {
core.setFailed(e);
}
Expand Down

0 comments on commit 3c1639d

Please sign in to comment.