Add actions cache variable exposure to build workflows

This commit is contained in:
mr. M
2025-03-07 17:04:27 +01:00
parent 00654c168f
commit 4c7955b099
4 changed files with 21 additions and 4 deletions

View File

@@ -47,6 +47,13 @@ jobs:
with:
disable_annotations: true
- name: Expose actions cache variables
uses: actions/github-script@v6
with:
script: |
core.exportVariable('ACTIONS_CACHE_URL', process.env['ACTIONS_CACHE_URL'])
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env['ACTIONS_RUNTIME_TOKEN'])
- name: Setup Python
uses: actions/setup-python@v5
# note: This will use the version defined in '.python-version' by default