Skip to content

Commit d678fd2

Browse files
authored
Merge pull request #199 from esmf-org/feature/spack_ci_gjt
Simplify uploaded artifacts
2 parents a599f20 + 497ee89 commit d678fd2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,18 +135,18 @@ jobs:
135135
-s ~/.spack-ci
136136
137137
# compress run directory of NUOPC app prototypes
138-
- name: Compress NUOPC App Prototypes Run Directory
138+
- name: Prepare NUOPC App Prototypes Artifacts Directory
139139
run: |
140-
cd ${{ github.workspace }}
141-
tar -cvf nuopc-app-prototypes.tar nuopc-app-prototypes/
142-
gzip nuopc-app-prototypes.tar
140+
cd ${{ github.workspace }}/nuopc-app-prototypes
141+
mkdir Artifacts
142+
mv NUOPC-PROTO-RESULTS Artifacts/
143143
144-
# push test results to artifacts
144+
# push test results to artifacts
145145
- name: Upload Artifacts
146146
uses: actions/upload-artifact@v3
147147
with:
148148
name: Artifacts for ${{ matrix.compiler }} ${{ matrix.esmf }}
149-
path: ${{ github.workspace }}/nuopc-app-prototypes.tar.gz
149+
path: ${{ github.workspace }}/nuopc-app-prototypes/Artifacts
150150
retention-days: 5
151151

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

0 commit comments

Comments
 (0)