File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ RUN source /opt/rh/gcc-toolset-13/enable && pip install -r requirements.txt
2424#RUN pip install -r requirements.txt
2525
2626# Copy the PyTorch source code into the container
27- COPY . /workspace/pytorch
27+ # COPY . /workspace/pytorch
2828
2929# Copy the build script and make it executable
3030COPY .github/scripts/ppc64le-build.sh /ppc64le-build.sh
@@ -35,4 +35,4 @@ RUN dos2unix /ppc64le-build.sh || sed -i 's/\r$//' /ppc64le-build.sh
3535RUN chmod +x /ppc64le-build.sh
3636
3737# Use CMD to run the script
38- CMD ["/ppc64le-build.sh"]
38+ # CMD ["/ppc64le-build.sh"]
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ jobs:
205205 - name : Run Docker container and execute build script
206206 if : inputs.build-environment == 'linux-ppc64le-binary-manywheel'
207207 run : |
208- docker run --rm -v $(pwd)/dist :/workspace/pytorch/dist ${{ inputs.docker-image-name }} /ppc64le-build.sh
208+ docker run --rm -v "${GITHUB_WORKSPACE} :/workspace/pytorch" ${{ inputs.docker-image-name }} /ppc64le-build.sh
209209
210210 - name : Build
211211 if : (steps.filter.outputs.is-test-matrix-empty == 'False' || inputs.test-matrix == '' ) && (inputs.build-environment != 'linux-ppc64le-binary-manywheel')
You can’t perform that action at this time.
0 commit comments