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 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 fs from "fs"
import semver from "semver"
@ -9,10 +7,12 @@ import semver from "semver"
import {
check_cache,
install_nextflow,
nextflow_bin_url,
release_data
get_nextflow_release
} from "./functions"
import { NextflowRelease } from "./NextflowRelease"
import { pull_releases, setup_octokit } from "./OctokitWrapper"
async function run(): Promise<void> {
// Set environment variables
core.exportVariable("CAPSULE_LOG", "none")