DEV Community

Cover image for Python version on OS of GitHub Actions
0xkoji
0xkoji

Posted on

Python version on OS of GitHub Actions

Started learning GitHub Actions for Actions Hackathon
All cases are using the latest.

08/20/2020

Ubuntu

ubuntu-18.04
Python 2.7.17
Alt Text

Windows

windows-2019
Python 3.7.8
Alt Text

macOS

macos-10.15
Python 2.7.17
Alt Text

The repo is here.
https://github.com/koji/github_actions

name: Python version check
on: push

jobs:
    python-version-check-on-windows:
        name: python version check
        runs-on: windows-latest
        steps:
            - name: ver check
              run: python --version

    python-version-check-on-linux:
        name: python version check
        runs-on: ubuntu-latest
        steps:
            - name: ver check
              run: python --version


    python-version-check-on-macos:
        name: python version check
        runs-on: macos-latest
        steps:
            - name: ver check
              run: python --version

Enter fullscreen mode Exit fullscreen mode

Top comments (0)