Fix Mode Color Matching Cursor Color #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Visual Diff | |
on: | |
pull_request: | |
paths: | |
- "themes/**/*.toml" | |
permissions: | |
contents: write | |
actions: write | |
checks: write | |
pull-requests: write | |
discussions: write | |
issues: write | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Install the latest version of uv | |
uses: astral-sh/setup-uv@v5 | |
with: | |
version: "latest" | |
- name: Run helix-hl-diff | |
run: uvx --from git+https://github.com/backwardspy/helix-hl-diff helix-hl-diff | |
env: | |
BASE_REPO: ${{ github.repository }} | |
BASE_BRANCH: "${{ github.base_ref }}" | |
CMP_REPO: ${{ github.event.pull_request.head.repo.full_name }} | |
CMP_BRANCH: "${{ github.head_ref }}" | |
- name: Check for diff images | |
id: check_diffs | |
run: | | |
if (Test-Path "output/**/diffs/*.png") { | |
echo "DIFFS_FOUND=true" >> $env:GITHUB_ENV | |
} else { | |
echo "No diff images found." | |
exit 0 | |
} | |
- name: Upload visual diffs | |
if: env.DIFFS_FOUND == 'true' | |
uses: edunad/[email protected] | |
with: | |
path: "output/**/diffs/*.png" | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
title: "Visual Diff" |