From e3c010b1111a01f373597240f6b426f46eee731a Mon Sep 17 00:00:00 2001 From: Man Ting Chan Date: Tue, 6 Feb 2024 12:16:31 +0000 Subject: [PATCH] escape Jinja for pypi_token passing --- .../workflows/ci.yml.jinja" | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git "a/template/{% if git_platform==\"github.com\" %}.github{% endif %}/workflows/ci.yml.jinja" "b/template/{% if git_platform==\"github.com\" %}.github{% endif %}/workflows/ci.yml.jinja" index e4d746ab..bb392096 100644 --- "a/template/{% if git_platform==\"github.com\" %}.github{% endif %}/workflows/ci.yml.jinja" +++ "b/template/{% if git_platform==\"github.com\" %}.github{% endif %}/workflows/ci.yml.jinja" @@ -48,7 +48,7 @@ jobs: needs: check if: needs.check.outputs.branch-pr == '' uses: ./.github/workflows/_dist.yml - + {% raw %} pypi: if: github.ref_type == 'tag' needs: dist @@ -57,7 +57,7 @@ jobs: id-token: write secrets: PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} - + {% endraw %} release: if: github.ref_type == 'tag' needs: [dist{% if sphinx %}, docs{% endif %}]