Import the GitHub type from @actions/github with file extension syntax

This improves the code compatibility with the ESM syntax.
Issue #603
This commit is contained in:
Jozef Izso 2025-06-07 16:48:41 +02:00
parent a6b3e93884
commit 67059baf3b
Failed to extract signature
4 changed files with 4 additions and 3 deletions

View file

@ -1,6 +1,6 @@
import * as core from '@actions/core'
import * as github from '@actions/github'
import {GitHub} from '@actions/github/lib/utils'
import type {GitHub} from '@actions/github/lib/utils.js'
import Zip from 'adm-zip'
import picomatch from 'picomatch'