Skip to content

Commit

Permalink
Change output folder to build
Browse files Browse the repository at this point in the history
not build.tensorflow
  • Loading branch information
roomrys committed Sep 12, 2024
1 parent d01872e commit 3484d39
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build_tensorflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,21 +68,21 @@ jobs:
if: (runner.os == 'Windows') && (env.RUN_BUILD_JOB == 'true')
shell: powershell
run: |
conda build --debug ${{ matrix.build-folder }} --output-folder ${{ matrix.env-prefix }}build.tensorflow -c conda-forge
conda build --debug ${{ matrix.build-folder }} --output-folder ${{ matrix.env-prefix }}build -c conda-forge
- name: Build conda package (not Windows)
if: (runner.os != 'Windows') && (env.RUN_BUILD_JOB == 'true')
shell: bash -l {0}
run: |
conda build --debug ${{ matrix.build-folder }} --output-folder build.tensorflow -c conda-forge
conda build --debug ${{ matrix.build-folder }} --output-folder build -c conda-forge
# Upload the build artifact incase anaconda upload fails
- name: Upload conda package artifact
if: env.RUN_BUILD_JOB == 'true'
uses: actions/upload-artifact@v4
with:
name: tensorflow-build-${{ matrix.os-folder }}
path: ${{ matrix.env-prefix }}build.tensorflow # Upload entire build directory
path: ${{ matrix.env-prefix }}build # Upload entire build directory
retention-days: 1

upload:
Expand Down Expand Up @@ -111,8 +111,8 @@ jobs:
uses: actions/download-artifact@v4
id: download
with:
name: sleap-build-${{ matrix.os-folder }}
path: build.tensorflow
name: tensorflow-build-${{ matrix.os-folder }}
path: build
run-id: ${{ env.RUN_ID }}
github-token: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -136,5 +136,5 @@ jobs:
shell: bash -l {0}
run: |
anaconda login --username sleap-deps --password "$ANACONDA_PASSWORD"
anaconda -v upload build.tensorflow/${{ matrix.os-folder }}/*.tar.bz2 --label dev --user sleap-deps
anaconda -v upload build/${{ matrix.os-folder }}/*.tar.bz2 --label dev --user sleap-deps
anaconda logout

0 comments on commit 3484d39

Please sign in to comment.