Avoid interpolating expressions into scripts in CI workflows

This commit is contained in:
Denis Kasak
2026-07-14 16:32:03 +02:00
parent 7438953ff3
commit 7558a46faf
4 changed files with 14 additions and 7 deletions
+3 -1
View File
@@ -67,7 +67,9 @@ jobs:
mdbook-version: '0.5.2'
- name: Set version of docs
run: echo 'window.SYNAPSE_VERSION = "${{ needs.pre.outputs.branch-version }}";' > ./docs/website_files/version.js
env:
BRANCH_VERSION: ${{ needs.pre.outputs.branch-version }}
run: echo "window.SYNAPSE_VERSION = \"$BRANCH_VERSION\";" > ./docs/website_files/version.js
- name: Setup python
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0