mirror of
https://github.com/docker/metadata-action.git
synced 2026-11-16 23:15:02 +08:00
Merge 1ddc39e4af into 00741899ac
This commit is contained in:
commit
4f90575a74
1 changed files with 4 additions and 2 deletions
|
|
@ -12,8 +12,10 @@ actionsToolkit.run(
|
||||||
async () => {
|
async () => {
|
||||||
const inputs: Inputs = getInputs();
|
const inputs: Inputs = getInputs();
|
||||||
const toolkit = new Toolkit({githubToken: inputs.githubToken});
|
const toolkit = new Toolkit({githubToken: inputs.githubToken});
|
||||||
const context = await getContext(inputs.context, toolkit);
|
const [context, repo] = await Promise.all([
|
||||||
const repo = await toolkit.github.repoData();
|
getContext(inputs.context, toolkit),
|
||||||
|
toolkit.github.repoData()
|
||||||
|
]);
|
||||||
const setOutput = outputEnvEnabled() ? setOutputAndEnv : core.setOutput;
|
const setOutput = outputEnvEnabled() ? setOutputAndEnv : core.setOutput;
|
||||||
|
|
||||||
await core.group(`Context info`, async () => {
|
await core.group(`Context info`, async () => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue