From 9afb4921a0f070f2cd73cb36182c0177aaef621a Mon Sep 17 00:00:00 2001 From: cyclingbyte Date: Wed, 28 Aug 2024 14:54:50 +0200 Subject: [PATCH] Update action.yml --- .github/actions/gh-pages/action.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/actions/gh-pages/action.yml b/.github/actions/gh-pages/action.yml index ffcff61..3642331 100644 --- a/.github/actions/gh-pages/action.yml +++ b/.github/actions/gh-pages/action.yml @@ -5,10 +5,6 @@ inputs: items: description: "A JSON list of objects with 'path' and 'target' properties." required: true - retention-days: - 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.' @@ -56,9 +52,9 @@ runs: - name: Upload artifacts id: upload-artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: github-pages path: ${{ runner.temp }}/artifacts - retention-days: ${{ inputs.retention-days }} + retention-days: 1 if-no-files-found: error