mirror of
https://github.com/trympet/nextcloud-artifacts-action.git
synced 2025-04-24 20:16:08 +02:00
fix imports
This commit is contained in:
parent
a87ab4cf3b
commit
1cb76bcfb4
842
dist/index.js
vendored
842
dist/index.js
vendored
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
||||
import core from '@actions/core';
|
||||
import * as core from '@actions/core';
|
||||
import { NoFileOption } from './NoFileOption';
|
||||
|
||||
export class Inputs {
|
||||
@ -27,7 +27,7 @@ export class Inputs {
|
||||
}
|
||||
|
||||
static get NoFileBehvaior(): NoFileOption {
|
||||
const notFoundAction = core.getInput("if-no-files-found");
|
||||
const notFoundAction = core.getInput("if-no-files-found") || NoFileOption.warn;
|
||||
const noFileBehavior: NoFileOption = NoFileOption[notFoundAction as keyof typeof NoFileOption];
|
||||
|
||||
if (!noFileBehavior) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import core from '@actions/core';
|
||||
import * as core from '@actions/core';
|
||||
import { FileFinder } from '../FileFinder';
|
||||
import { Inputs } from '../Inputs';
|
||||
import { NextcloudClient } from './NextcloudClient';
|
||||
|
@ -1,6 +1,6 @@
|
||||
import * as fsSync from 'fs'
|
||||
import * as path from 'path'
|
||||
import core from '@actions/core';
|
||||
import * as core from '@actions/core';
|
||||
import * as os from 'os';
|
||||
import { randomUUID } from 'crypto';
|
||||
import * as archiver from 'archiver';
|
||||
|
Loading…
x
Reference in New Issue
Block a user