Skip to content

Commit

Permalink
try running from $HOME
Browse files Browse the repository at this point in the history
  • Loading branch information
Waqar-ukaea authored Oct 22, 2024
1 parent 74b52e1 commit 33a79a9
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/vtune-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,24 @@ jobs:
# Step 4: Copy VTune Results from container
- name: Copy VTune Results
run: |
mkdir -p /home/artifacts
docker cp profiling-container:/opt/hotspots_summary.html /home/artifacts/hotspots_summary.html
docker cp profiling-container:/opt/hotspots_results.tar /home/artifacts/hotspots_results.tar
cd $HOME
mkdir artifacts
docker cp profiling-container:/opt/hotspots_summary.html ./artifacts/hotspots_summary.html
docker cp profiling-container:/opt/hotspots_results.tar ./artifacts/hotspots_results.tar
# Step 5 Upload VTune results artifacts
- name: Upload VTune results summary
uses: actions/upload-artifact@v4
with:
name: vtune-results-summary
path: /home/artifacts/hotspots_summary.html
path: ./artifacts/hotspots_summary.html
if-no-files-found: error

- name: Upload full VTune results
uses: actions/upload-artifact@v4
with:
name: vtune-results-full
path: /home/artifacts/hotspots_results.tar
path: ./artifacts/hotspots_results.tar
if-no-files-found: error


Expand Down

0 comments on commit 33a79a9

Please sign in to comment.