Skip to content

PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust

#570: require Windows resource compilation in CI (#724)

cyfung1031eca3a2f76048
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 821b7de74..bf4358cdc 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -51,6 +51,11 @@ jobs:
with:
components: clippy, rustfmt
+ - name: Require Windows executable resources
+ if: runner.os == 'Windows'
+ run: Add-Content -Path $env:GITHUB_ENV -Value 'PDFCRAFT_REQUIRE_WINRES=1'
+ shell: pwsh
+
- uses: Swatinem/rust-cache@v2
- name: Format