Skip to content

Commit

Permalink
fix artifact import
Browse files Browse the repository at this point in the history
  • Loading branch information
Ebonsignori committed Jul 4, 2023
1 parent 8128af3 commit 75be4ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { throttling } from "@octokit/plugin-throttling";
import { Endpoints } from "@octokit/types";
import { WebClient } from "@slack/web-api";
import Webex from "webex";
import artifact from "@actions/artifact";
import { create, create as createArtifact } from "@actions/artifact";
import fs from "fs";

import getInputs from "./lib/get-inputs";
Expand Down Expand Up @@ -168,7 +168,7 @@ async function run(
"notifications.json",
JSON.stringify(notifications, null, 2)
);
const artifactClient = artifact.create();
const artifactClient = createArtifact();
await artifactClient.uploadArtifact(
"notifications",
["notifications.json"],
Expand Down

0 comments on commit 75be4ed

Please sign in to comment.