Skip to content

Commit

Permalink
Fix workflow action syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
huydhn committed Jan 13, 2024
1 parent f4206b3 commit 2f9ba27
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/actions/setup-binary-upload/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,20 @@ inputs:

runs:
using: composite
shell: bash
env:
REPOSITORY: ${{ inputs.repository }}
REF: ${{ inputs.ref }}
PYTHON_VERSION: ${{ inputs.python-version }}
CU_VERSION: ${{ inputs.cuda-version }}
ARCH: ${{ inputs.arch }}
steps:
- uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: pip

- name: Set the artifact name
shell: bash
env:
REPOSITORY: ${{ inputs.repository }}
REF: ${{ inputs.ref }}
PYTHON_VERSION: ${{ inputs.python-version }}
CU_VERSION: ${{ inputs.cuda-version }}
ARCH: ${{ inputs.arch }}
run: |
set -ex
Expand All @@ -54,7 +54,12 @@ runs:
echo "ARTIFACT_NAME=${REPOSITORY/\//_}_${REF}_${PYTHON_VERSION}_${CU_VERSION}_${ARCH}" >> "${GITHUB_ENV}"
- name: Generate env variables from pytorch_pkg_helpers
working-directory: ${{ inputs.repository }}
env:
REPOSITORY: ${{ inputs.repository }}
REF: ${{ inputs.ref }}
PYTHON_VERSION: ${{ inputs.python-version }}
CU_VERSION: ${{ inputs.cuda-version }}
ARCH: ${{ inputs.arch }}
run: |
set -ex
Expand Down

0 comments on commit 2f9ba27

Please sign in to comment.