Skip to content

Commit

Permalink
Name downloaded artifact explicitly (#3373)
Browse files Browse the repository at this point in the history
* Name downloaded artifact explicitly

* Fix YAML
  • Loading branch information
raphael committed Sep 29, 2023
1 parent 22be94d commit 8ed721d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
@@ -1,4 +1,4 @@
name: build
name: Run Tests and Static Analysis
on:
push:
branches:
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/deep-source.yml
@@ -1,11 +1,12 @@
name: deep-source
name: Report Test Coverage
on:
workflow_run:
workflows: [build]
workflows:
- Run Tests and Static Analysis
types: [completed]

jobs:
on-success:
upload:
runs-on: ubuntu-latest
if: github.event.workflow_run.conclusion == 'success'
steps:
Expand All @@ -14,7 +15,8 @@ jobs:
- name: Download test coverage
uses: actions/download-artifact@v3
with:
path: ./
name: coverage
path: cover.out
- name: Report analysis to DeepSource
run: |
curl https://deepsource.io/cli | sh
Expand Down

0 comments on commit 8ed721d

Please sign in to comment.