Skip to content

Commit

Permalink
Merge pull request #1081 from slaclab/ESROGUE-619
Browse files Browse the repository at this point in the history
Update surf_ci.yml
  • Loading branch information
ruck314 committed Jun 7, 2023
2 parents 9e258db + f148b1d commit 2145d09
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/surf_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
# ----------------------------------------------------------------------------
# The following environment variables are required for this process:
# secrets.GH_TOKEN
# secrets.CONDA_UPLOAD_TOKEN_DEV
# secrets.CONDA_UPLOAD_TOKEN_TAG

name: SURF Integration
Expand Down Expand Up @@ -116,7 +115,7 @@ jobs:
conda_build:
name: Anaconda Build
needs: [test_and_document]
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/pre-release'
if: startsWith(github.ref, 'refs/tags/')
strategy:
matrix:
os:
Expand Down Expand Up @@ -153,16 +152,10 @@ jobs:
- name: Get Image Information
id: get_image_info
env:
CONDA_UPLOAD_TOKEN_DEV: ${{ secrets.CONDA_UPLOAD_TOKEN_DEV }}
CONDA_UPLOAD_TOKEN_TAG: ${{ secrets.CONDA_UPLOAD_TOKEN_TAG }}
OS_NAME: ${{ matrix.os }}
run: |
if [ ${GITHUB_REF} == "refs/heads/pre-release" ]
then
echo ::set-output name=token::$CONDA_UPLOAD_TOKEN_DEV
else
echo ::set-output name=token::$CONDA_UPLOAD_TOKEN_TAG
fi
echo ::set-output name=token::$CONDA_UPLOAD_TOKEN_TAG
echo ::set-output name=os::linux-64
- name: Build And Upload
Expand Down

0 comments on commit 2145d09

Please sign in to comment.