Skip to content

Commit

Permalink
revert github actions to python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
agunapal committed Dec 10, 2022
1 parent fc1a4c3 commit 67c0bcb
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 24 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/doc-automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ jobs:
build_docs_job:
runs-on: ubuntu-20.04
steps:
- name: Setup Python 3.10
- name: Setup Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.10.8
python-version: 3.8
architecture: x64
- name: Checkout
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
nightly:
runs-on: ubuntu-20.04
steps:
- name: Setup Python 3.10
- name: Setup Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.10.8
python-version: 3.8
architecture: x64
- name: Checkout TorchServe
uses: actions/checkout@v3
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/official_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,11 @@ jobs:
matrix:
os: [ubuntu-20.04, macOS-latest, windows-latest]
steps:
- name: Setup Python 3.10
uses: actions/setup-python@v4
with:
python-version: 3.10.8
- name: Setup Conda
uses: s-weigand/setup-conda@v1
with:
activate-conda: false
- name: Setup Anaconda
run: |
conda --version
python -V
conda install -y conda-build anaconda-client
- name: Checkout TorchServe
uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/regression_tests_cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
matrix:
os: [ubuntu-20.04, macOS-latest]
steps:
- name: Setup Python 3.10
uses: actions/setup-python@v4
- name: Setup Python 3.8
uses: actions/setup-python@v3
with:
python-version: 3.10.8
python-version: 3.8
architecture: x64
- name: Setup Java 17
uses: actions/setup-java@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/regression_tests_gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
run: sudo add-apt-repository ppa:git-core/ppa -y && sudo apt-get update && sudo apt-get install git -y
- name: Check git version
run: git --version
- name: Setup Python 3.10
uses: actions/setup-python@v4
- name: Setup Python 3.8
uses: actions/setup-python@v3
with:
python-version: 3.10.8
python-version: 3.8
architecture: x64
- name: Setup Java 17
uses: actions/setup-java@v3
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/torchserve-nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,9 @@ jobs:
matrix:
os: [ubuntu-20.04, macOS-latest, windows-latest]
steps:
- name: Setup Python 3.10
uses: actions/setup-python@v4
with:
python-version: 3.10.8
- name: Setup Conda
uses: s-weigand/setup-conda@v1
with:
activate-conda: false
- run: conda --version
- run: python -V
- run: conda install -y conda-build anaconda-client
- name: Checkout TorchServe
uses: actions/checkout@v3
Expand Down

0 comments on commit 67c0bcb

Please sign in to comment.