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