Skip to content

Commit

Permalink
fix(ci): v4 artifact actions require unique artifact names (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
c-dilks authored Jan 25, 2024
1 parent 3ce994f commit 077b86c
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
tar czvf build_monitoring.tar.gz monitoring/target
- uses: actions/upload-artifact@v4
with:
name: build
name: build_timelines
retention-days: 1
path: build*.tar.gz

Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
run: tar czvf build_coatjava.tar.gz coatjava/coatjava
- uses: actions/upload-artifact@v4
with:
name: build
name: build_coatjava
retention-days: 1
path: build*.tar.gz

Expand Down Expand Up @@ -125,7 +125,8 @@ jobs:
name: validation_files
- uses: actions/download-artifact@v4
with:
name: build
pattern: build_*
merge-multiple: true
- name: untar
run: ls *.tar.gz | xargs -I{} tar xzvf {}
- name: tree
Expand All @@ -138,12 +139,12 @@ jobs:
run: tree outfiles
- uses: actions/upload-artifact@v4
with:
name: slurm
name: slurm_${{ matrix.type }}
retention-days: 1
path: slurm
- uses: actions/upload-artifact@v4
with:
name: outfiles
name: outfiles_monitoring_${{ matrix.type }}
retention-days: 14
path: outfiles

Expand Down Expand Up @@ -177,7 +178,8 @@ jobs:
name: validation_files
- uses: actions/download-artifact@v4
with:
name: build
pattern: build_*
merge-multiple: true
- name: untar
run: ls *.tar.gz | xargs -I{} tar xzvf {}
- name: tree
Expand Down Expand Up @@ -218,11 +220,13 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: outfiles
pattern: outfiles_*
merge-multiple: true
path: outfiles
- uses: actions/download-artifact@v4
with:
name: build
pattern: build_*
merge-multiple: true
- name: untar
run: ls *.tar.gz | xargs -I{} tar xzvf {}
- name: tree
Expand All @@ -233,7 +237,7 @@ jobs:
run: tree outfiles
- uses: actions/upload-artifact@v4
with:
name: outfiles
name: outfiles_timelines_${{ matrix.type }}
retention-days: 14
path: outfiles

Expand All @@ -255,11 +259,13 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: outfiles
pattern: outfiles_*
merge-multiple: true
path: outfiles
- uses: actions/download-artifact@v4
with:
name: build
pattern: build_*
merge-multiple: true
- name: untar
run: ls *.tar.gz | xargs -I{} tar xzvf {}
- name: tree outfiles
Expand Down

0 comments on commit 077b86c

Please sign in to comment.