chore: create ci release (efb34d6cb2)

This commit is contained in:
github-actions[bot]
2024-03-20 00:52:41 +00:00
commit a3b800d623
19 changed files with 9121 additions and 0 deletions

11
src/teardown.ts Normal file
View File

@@ -0,0 +1,11 @@
import { rm } from 'node:fs/promises'
import { debug, getState } from '@actions/core'
export async function teardown() {
debug('Running kubectl-action teardown()')
console.log('Removing kubeconfig')
const configPath = getState('kubeconfig-path')
await rm(configPath, { recursive: true, force: true })
}