Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-11-17 17:24:45 +0300
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2020-11-17 17:39:54 +0300
commite09b234f7f0f45013fcefb8463580172ba3361f2 (patch)
treedaf53bc6aadf10b788c88da2bc9180d9c48a2f1e /.github
parent5d8d6275a54f2c5fb72b82383b5712c22d337634 (diff)
test: Pass ACTIONS_ALLOW_UNSECURE_COMMANDS to deadsnake/action
The `add-path` command that deadsnake/action internally uses is disabled by default now [*1]. But the action is still does not support new style environment files commands [*2]. So this enables the deprecated command via `ACTIONS_ALLOW_UNSECURE_COMMANDS` envvar. [*1]: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ [*2]: https://github.com/deadsnakes/issues/issues/135
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/main.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 06309f991..f90d4aeb7 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -46,6 +46,8 @@ jobs:
if: endsWith(matrix.python, '-dev')
with:
python-version: ${{ matrix.python }}
+ env:
+ ACTIONS_ALLOW_UNSECURE_COMMANDS: true
- name: Check Python version
run: python --version
- name: Install graphviz