mirror of
https://github.com/MillironX/setup-nextflow.git
synced 2024-11-24 18:39:54 +00:00
Change require statements to imports
This commit is contained in:
parent
88f5b74123
commit
5bcf32955d
1 changed files with 7 additions and 8 deletions
15
index.ts
15
index.ts
|
@ -1,11 +1,10 @@
|
||||||
const core = require("@actions/core");
|
import * as core from "@actions/core";
|
||||||
const exec = require("@actions/exec")
|
import * as exec from "@actions/exec";
|
||||||
const fs = require("fs");
|
import * as fs from "fs";
|
||||||
const github = require("@actions/github");
|
import * as github from "@actions/github";
|
||||||
const io = require("@actions/io");
|
import * as tc from "@actions/tool-cache";
|
||||||
const retry = require("async-retry");
|
import retry = require("async-retry");
|
||||||
const semver = require("semver");
|
import semver = require("semver");
|
||||||
const tc = require("@actions/tool-cache");
|
|
||||||
|
|
||||||
const NEXTFLOW_REPO = { owner: "nextflow-io", repo: "nextflow" };
|
const NEXTFLOW_REPO = { owner: "nextflow-io", repo: "nextflow" };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue