15 lines
336 B
YAML
15 lines
336 B
YAML
name: GitHub Actions Example
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
jobs:
|
|
build:
|
|
runs-on: self-hosted
|
|
steps:
|
|
- name: Check out source code
|
|
run: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.12.7'
|
|
- name: check python version
|
|
run: python --version |