Skip to content

Commit

Permalink
Try a different name for the artifact + overriding
Browse files Browse the repository at this point in the history
  • Loading branch information
franmomu committed Feb 11, 2024
1 parent f055d58 commit ec14f8d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,9 @@ jobs:
- name: "Upload composer.lock as build artifact"
uses: actions/upload-artifact@v4
with:
name: composer.lock
name: "composer-lock-${{ matrix.php-version }}-${{ matrix.dependencies }}"
path: composer.lock
overwrite: true

- id: setup-mongodb
uses: mongodb-labs/drivers-evergreen-tools@master
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ jobs:
- name: "Upload composer.lock as build artifact"
uses: actions/upload-artifact@v4
with:
name: composer.lock
name: "composer-lock-static-analysis-phpstan"
path: composer.lock
overwrite: true

- name: "Run a static analysis with phpstan/phpstan"
run: "vendor/bin/phpstan analyse --error-format=github"
Expand Down Expand Up @@ -85,8 +86,9 @@ jobs:
- name: "Upload composer.lock as build artifact"
uses: actions/upload-artifact@v4
with:
name: composer.lock
name: "composer-lock-static-analysis-psalm"
path: composer.lock
overwrite: true

- name: "Run a static analysis with vimeo/psalm"
run: "vendor/bin/psalm --show-info=false --stats --output-format=github --threads=$(nproc)"

0 comments on commit ec14f8d

Please sign in to comment.