refactor: Add and remove imports from main script

This commit is contained in:
Thomas A. Christensen II 2023-12-23 10:45:04 -07:00
parent f6ca4d60bb
commit 063c2b071a
Signed by: millironx
GPG key ID: 09335146883990B9

View file

@ -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")