From 90d437760162415b5a2c622b74b26b9e99d69136 Mon Sep 17 00:00:00 2001 From: Yuriy Danyliuk Date: Mon, 5 Dec 2022 03:31:49 +0200 Subject: [PATCH] Add new input for artifact name --- action.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 658c301..bac6b68 100644 --- a/action.yml +++ b/action.yml @@ -2,6 +2,10 @@ name: "Upload GitHub Pages artifact" description: "A composite action that prepares your static assets to be deployed to GitHub Pages" author: "GitHub" inputs: + name: + description: 'Artifact name' + required: false + default: 'github-pages' path: description: "Path of the directory containing the static assets." required: true @@ -67,6 +71,6 @@ runs: - name: Upload artifact uses: actions/upload-artifact@main with: - name: github-pages + name: ${{ inputs.name }} path: ${{ runner.temp }}/artifact.tar retention-days: ${{ inputs.retention-days }}