Skip to content

Commit

Permalink
fix workflow: python version needs to be in quotes and each step shou…
Browse files Browse the repository at this point in the history
…ld have a name, remove cache comments
  • Loading branch information
eberrigan committed Jul 15, 2024
1 parent 7d49ee8 commit 4cb9e93
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/build_tensorflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,16 @@ jobs:
matrix:
os: ["ubuntu-22.04", "windows-2022"]
steps:
# Setup
- uses: actions/checkout@v4
# - name: Cache conda
# uses: actions/cache@v1
# env:
# # Increase this value to reset cache if environment_build.yml has not changed
# CACHE_NUMBER: 0
# with:
# path: ~/conda_pkgs_dir
# key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('environment.tensorflow.yml', 'requirements.tensorflow.txt') }}
# Checkout the repository
- name: Checkout
uses: actions/checkout@v4

# Setup Miniconda
- name: Setup Miniconda
# https://github.com/conda-incubator/setup-miniconda
uses: conda-incubator/[email protected]
with:
python-version: 3.10
# use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly!
python-version: "3.10"
environment-file: environment.tensorflow.yml
activate-environment: build_tensorflow
- name: Print environment info
Expand Down

0 comments on commit 4cb9e93

Please sign in to comment.