Skip to content

Commit 35e34ad

Browse files
anno1985SiaraMist
andauthored
Adds missing {% raw %} tags to caching page (#22865)
Co-authored-by: Siara <108543037+SiaraMist@users.noreply.github.com>
1 parent f4b752d commit 35e34ad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/actions/using-workflows/caching-dependencies-to-speed-up-workflows.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -343,8 +343,8 @@ jobs:
343343
run: |
344344
gh extension install actions/gh-actions-cache
345345
346-
REPO=${{ github.repository }}
347-
BRANCH=${{ github.ref }}
346+
REPO={% raw %}${{ github.repository }}{% endraw %}
347+
BRANCH={% raw %}${{ github.ref }}{% endraw %}
348348
349349
echo "Fetching list of cache key"
350350
cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH | cut -f 1 )
@@ -358,7 +358,7 @@ jobs:
358358
done
359359
echo "Done"
360360
env:
361-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
361+
GH_TOKEN: {% raw %}${{ secrets.GITHUB_TOKEN }}{% endraw %}
362362
```
363363

364364
Alternatively, you can use the API to programmatically delete caches on your own cadence. For more information, see "[Delete GitHub Actions caches for a repository](/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key)."

0 commit comments

Comments
 (0)