Bootstrap FreeKB - GitHub Actions - Install Python in a runner VM
GitHub Actions - Install Python in a runner VM

Updated:   |  GitHub Actions articles

GitHub Actions can be used to do something whenever something happens in one of your GitHub repositories. If you are not familiar with GitHub Actions, check out my article Getting Started with GitHub Actions.

actions/setup-python can be used to install Python in a runner VM.

name: GitHub Action
run-name: ${{ github.workflow }} run by ${{ github.actor }}
on:
  push:
    branches:
      - main
jobs:
  restart-docker-container:
    runs-on: ubuntu-latest
    steps:      
      - name: setup python in the runner VM
        uses: actions/setup-python@v5
        with:
          python-version: '3.12'

 

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 4c075f in the box below so that we can be sure you are a human.