mirror of
https://github.com/MillironX/setup-nextflow.git
synced 2024-11-23 10:09:54 +00:00
refactor: Add and remove imports from main script
This commit is contained in:
parent
f6ca4d60bb
commit
063c2b071a
1 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,5 @@
|
||||||
import * as core from "@actions/core"
|
import * as core from "@actions/core"
|
||||||
import * as exec from "@actions/exec"
|
import * as exec from "@actions/exec"
|
||||||
import * as github from "@actions/github"
|
|
||||||
import { GitHub } from "@actions/github/lib/utils"
|
|
||||||
import * as tc from "@actions/tool-cache"
|
import * as tc from "@actions/tool-cache"
|
||||||
import * as fs from "fs"
|
import * as fs from "fs"
|
||||||
import semver from "semver"
|
import semver from "semver"
|
||||||
|
@ -9,10 +7,12 @@ import semver from "semver"
|
||||||
import {
|
import {
|
||||||
check_cache,
|
check_cache,
|
||||||
install_nextflow,
|
install_nextflow,
|
||||||
nextflow_bin_url,
|
get_nextflow_release
|
||||||
release_data
|
|
||||||
} from "./functions"
|
} from "./functions"
|
||||||
|
|
||||||
|
import { NextflowRelease } from "./NextflowRelease"
|
||||||
|
import { pull_releases, setup_octokit } from "./OctokitWrapper"
|
||||||
|
|
||||||
async function run(): Promise<void> {
|
async function run(): Promise<void> {
|
||||||
// Set environment variables
|
// Set environment variables
|
||||||
core.exportVariable("CAPSULE_LOG", "none")
|
core.exportVariable("CAPSULE_LOG", "none")
|
||||||
|
|
Loading…
Reference in a new issue