From f197531235a3c00aeb596830ee71c945b033ed6b Mon Sep 17 00:00:00 2001 From: Abel Soares Siqueira Date: Thu, 29 Aug 2024 17:26:15 +0200 Subject: [PATCH 1/2] Fix missing .jinja in build.yml workflow --- ...%} => {% if AddGitHubActionBuild %}build.yml{% endif %}.jinja} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename template/.github/workflows/{{% if AddGitHubActionBuild %}build.yml{% endif %} => {% if AddGitHubActionBuild %}build.yml{% endif %}.jinja} (100%) diff --git a/template/.github/workflows/{% if AddGitHubActionBuild %}build.yml{% endif %} b/template/.github/workflows/{% if AddGitHubActionBuild %}build.yml{% endif %}.jinja similarity index 100% rename from template/.github/workflows/{% if AddGitHubActionBuild %}build.yml{% endif %} rename to template/.github/workflows/{% if AddGitHubActionBuild %}build.yml{% endif %}.jinja From 2bd03e2e24467227e404ab0b1899e3afc8d8e993 Mon Sep 17 00:00:00 2001 From: Abel Soares Siqueira Date: Thu, 29 Aug 2024 21:44:26 +0200 Subject: [PATCH 2/2] Fix whitespace stripping in build.yml Related to #636 --- .../{% if AddGitHubActionBuild %}build.yml{% endif %}.jinja | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template/.github/workflows/{% if AddGitHubActionBuild %}build.yml{% endif %}.jinja b/template/.github/workflows/{% if AddGitHubActionBuild %}build.yml{% endif %}.jinja index c05f29a1..bbc9d50a 100644 --- a/template/.github/workflows/{% if AddGitHubActionBuild %}build.yml{% endif %}.jinja +++ b/template/.github/workflows/{% if AddGitHubActionBuild %}build.yml{% endif %}.jinja @@ -38,7 +38,7 @@ jobs: - name: Verify that we can build the package run: python -m build -{%- if AddLinting -%} +{%- if AddLinting %} lint: name: Linting build runs-on: ubuntu-latest @@ -63,4 +63,4 @@ jobs: run: | ruff check ruff format --check -{%- endif -%} +{%- endif %}