From 00f93f57c923fa054bcb273f2170d8b0a60139d7 Mon Sep 17 00:00:00 2001 From: Github Actions Date: Sat, 23 May 2020 20:13:00 +0000 Subject: [PATCH] Deployed to github pages --- README.md | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7aab98f..f7b3525 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,28 @@ a GitHub action to install (pre-release) pythons from [deadsnakes] ### using this action To use this action, add it adjacent to `setup-python` and opt into it -conditionally. Here's an example which uses `python` as a matrix. +conditionally. Here's an example which uses `python-version` as a matrix. ```yaml -TODO!!!! +on: + push: + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: [3.6, 3.7, 3.8, 3.9-dev] + name: main + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + if: matrix.python-version != '3.9-dev' + with: + python-version: ${{ matrix.python-version }} + - uses: deadsnakes/action@v1.0.0 + if: matrix.python-version == '3.9-dev' + with: + python-version: ${{ matrix.python-version }} + - run: python --version --version && which python ```