Skip to content

Commit

Permalink
main: move io requirement higher
Browse files Browse the repository at this point in the history
  • Loading branch information
dawidd6 authored Jan 5, 2024
1 parent 2754bd6 commit 37027eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const core = require("@actions/core")
const exec = require("@actions/exec")
const io = require('@actions/io')
const firstline = require("firstline")
const path = require("path")
const fs = require("fs")
Expand All @@ -16,7 +17,6 @@ function getImageTag(imageName, distribution) {
}

async function getImageName(distribution) {
const io = require('@actions/io')
const tag = getImageTag("", distribution)
for (const image of ["debian", "ubuntu"]) {
try {
Expand Down

0 comments on commit 37027eb

Please sign in to comment.