From 063c2b071ace97a87caf4d3c071ae1cdbcca8e6a Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Sat, 23 Dec 2023 10:45:04 -0700 Subject: [PATCH] refactor: Add and remove imports from main script --- src/main.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.ts b/src/main.ts index 1ab2485..a65a840 100644 --- a/src/main.ts +++ b/src/main.ts @@ -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 { // Set environment variables core.exportVariable("CAPSULE_LOG", "none")