mirror of
https://github.com/yusufipk/dikte.git
synced 2026-09-11 19:06:11 +00:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f96020bfe9 | ||
|
|
75c8c350f9 |
@@ -1,8 +1,13 @@
|
|||||||
name: UI screenshots
|
name: UI screenshots
|
||||||
|
run-name: "UI screenshots (${{ inputs.pr && format('PR #{0}', inputs.pr) || github.ref_name }})"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
pr:
|
||||||
|
description: "PR number to capture (leave empty for the selected branch)"
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
@@ -26,6 +31,9 @@ jobs:
|
|||||||
QT_SCALE_FACTOR: "2"
|
QT_SCALE_FACTOR: "2"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: ${{ inputs.pr && format('refs/pull/{0}/head', inputs.pr) || github.ref }}
|
||||||
|
persist-credentials: false
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: "3.13"
|
python-version: "3.13"
|
||||||
@@ -55,4 +63,4 @@ jobs:
|
|||||||
name: ui-screenshots-${{ runner.os }}
|
name: ui-screenshots-${{ runner.os }}
|
||||||
path: ui-screenshots/
|
path: ui-screenshots/
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
retention-days: 14
|
retention-days: 90
|
||||||
|
|||||||
Reference in New Issue
Block a user