From ebb2329155dd92276b23fc17f5ba3e1533839615 Mon Sep 17 00:00:00 2001
From: Hugo van Kemenade
Date: Sun, 15 Sep 2019 14:17:50 +0300
Subject: [PATCH 1/2] Use python-version in the example for consistency
---
README.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index a54f6fa..26ffa4c 100644
--- a/README.md
+++ b/README.md
@@ -4,9 +4,9 @@
-This action sets up a python environment for use in actions by:
+This action sets up a Python environment for use in actions by:
-- optionally installing a version of python and adding to PATH. Note that this action only uses versions of Python already installed in the cache. The action will fail if no matching versions are found.
+- optionally installing a version of Python and adding to PATH. Note that this action only uses versions of Python already installed in the cache. The action will fail if no matching versions are found.
- registering problem matchers for error output
# Usage
@@ -31,14 +31,14 @@ jobs:
runs-on: ubuntu-16.04
strategy:
matrix:
- python: [ '2.x', '3.x', 'pypy3' ]
- name: Python ${{ matrix.python }} sample
+ python-version: [ '2.x', '3.x', 'pypy3' ]
+ name: Python ${{ matrix.python-version }} sample
steps:
- uses: actions/checkout@master
- name: Setup python
uses: actions/setup-python@v1
with:
- python-version: ${{ matrix.python }}
+ python-version: ${{ matrix.python-version }}
architecture: x64
- run: python my_script.py
```
From 62618cdaa5433258c0dc81d009e3cbf9bb57e60d Mon Sep 17 00:00:00 2001
From: Dongjoon Hyun
Date: Tue, 24 Sep 2019 13:03:43 -0700
Subject: [PATCH 2/2] Fix Repo URL
---
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package.json b/package.json
index f3811e5..3e75423 100644
--- a/package.json
+++ b/package.json
@@ -12,7 +12,7 @@
},
"repository": {
"type": "git",
- "url": "git+https://github.com/actions/ssetup-python.git"
+ "url": "git+https://github.com/actions/setup-python.git"
},
"keywords": [
"actions",