Skip to content

Commit

Permalink
feat[e2e]: support suffix input for artifact names
Browse files Browse the repository at this point in the history
  • Loading branch information
foosel committed Nov 12, 2024
1 parent 4a78ba5 commit a7e96e7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions e2e/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ inputs:
description: "Python version to use"
required: false
default: "3.12"
suffix:
description: "Suffix to use for the generated artifacts"
required: false
default: ""

runs:
using: "composite"
Expand Down Expand Up @@ -113,12 +117,12 @@ runs:
uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report-py${{ inputs.python }}
name: playwright-report${{ inputs.suffix }}
path: ${{ github.workspace }}/OctoPrint/tests/playwright/playwright-report

- name: ⬆ Upload OctoPrint logs
uses: actions/upload-artifact@v4
if: failure()
with:
name: octoprint-logs-py${{ inputs.python }}
name: octoprint-logs${{ inputs.suffix }}
path: ${{ github.workspace }}/e2econfig/logs

0 comments on commit a7e96e7

Please sign in to comment.