Skip to content

Commit 497ee89

Browse files
committed
Attempt to get a top level directory into the artifacts zip file.
1 parent f4fbcc1 commit 497ee89

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/test-build-spack.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,19 @@ jobs:
134134
-r ${{ github.workspace }}/nuopc-app-prototypes \
135135
-s ~/.spack-ci
136136
137-
# push test results to artifacts
137+
# compress run directory of NUOPC app prototypes
138+
- name: Prepare NUOPC App Prototypes Artifacts Directory
139+
run: |
140+
cd ${{ github.workspace }}/nuopc-app-prototypes
141+
mkdir Artifacts
142+
mv NUOPC-PROTO-RESULTS Artifacts/
143+
144+
# push test results to artifacts
138145
- name: Upload Artifacts
139146
uses: actions/upload-artifact@v3
140147
with:
141148
name: Artifacts for ${{ matrix.compiler }} ${{ matrix.esmf }}
142-
path: ${{ github.workspace }}/nuopc-app-prototypes/NUOPC-PROTO-RESULTS
149+
path: ${{ github.workspace }}/nuopc-app-prototypes/Artifacts
143150
retention-days: 5
144151

145152
# force to fail if there is any failed nuopc app prototypes

0 commit comments

Comments
 (0)