-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix workflow: python version needs to be in quotes and each step shou…
…ld have a name, remove cache comments
- Loading branch information
Showing
1 changed file
with
6 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|