From e699324f6a8d3a999660aabec48ba1d5e9148345 Mon Sep 17 00:00:00 2001 From: Konrad Pabjan Date: Thu, 26 Oct 2023 13:48:59 -0400 Subject: [PATCH] Upload pages artifact with upload-artifact@v4-beta --- action.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index d4c9a9f..7b6b5b2 100644 --- a/action.yml +++ b/action.yml @@ -14,6 +14,10 @@ inputs: description: "Duration after which artifact will expire in days." required: false default: "1" +outputs: + artifact-id: + description: "The ID of the artifact that was uploaded." + value: ${{ steps.upload-artifact.outputs.artifact-id }} runs: using: composite steps: @@ -63,7 +67,8 @@ runs: INPUT_PATH: ${{ inputs.path }} - name: Upload artifact - uses: actions/upload-artifact@v3 + id: upload-artifact + uses: actions/upload-artifact@v4-beta with: name: ${{ inputs.name }} path: ${{ runner.temp }}/artifact.tar