Skip to content

Commit

Permalink
refactor: change function name (#30)
Browse files Browse the repository at this point in the history
Signed-off-by: Mogyuchi <[email protected]>
  • Loading branch information
Mogyuchi authored Jan 30, 2024
1 parent bd4fdf4 commit 97567e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as core from '@actions/core'
import * as github from '@actions/github'
import { getRef } from './ref'

const deleteRefActionsCache = async (
const deleteRefActionsCaches = async (
octokit: ReturnType<typeof github.getOctokit>,
repo: { owner: string; repo: string },
ref: string
Expand Down Expand Up @@ -51,7 +51,7 @@ export async function run(): Promise<void> {
return
}
core.info(`Delete cache for ${ref}`)
await deleteRefActionsCache(octokit, repo, ref)
await deleteRefActionsCaches(octokit, repo, ref)
core.info('Done ✅')
} catch (error) {
// Fail the workflow run if an error occurs
Expand Down

0 comments on commit 97567e9

Please sign in to comment.