fix `needs` option for `test-only-restore` job

* also format code with prettier
pull/826/head
Vincent Clemson 3 years ago
parent f20d3c830c
commit 2807da784f

@ -72,7 +72,7 @@ jobs:
test-cache
~/test-cache
test-only-restore:
needs: test-restore
needs: test-save
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]

@ -10,7 +10,7 @@ import * as utils from "./utils/actionUtils";
process.on("uncaughtException", e => utils.logWarning(e.message));
async function run(): Promise<void> {
const save = ! core.getBooleanInput(Inputs.OnlyRestore);
const save = !core.getBooleanInput(Inputs.OnlyRestore);
if (save) {
try {
if (!utils.isCacheFeatureAvailable()) {

Loading…
Cancel
Save