Skip to content

add gh workflow

add gh workflow #1

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
variables:

Check failure on line 8 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 8, Col: 1): Unexpected value 'variables' .github/workflows/ci.yml (Line: 22, Col: 27): Unrecognized named-value: 'variables'. Located at position 1 within expression: variables.python-version
python-version: "3.10"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ variables.python-version }}
- name: Install Dependencies
run: pip install -r requirements.txt
- name: Build Docker Image
run: docker build . -t intel-toolkit:latest