Skip to content

Commit

Permalink
ci: fix up Coverity scan action
Browse files Browse the repository at this point in the history
  • Loading branch information
prajnoha committed Jun 22, 2023
1 parent 6d39a34 commit 3bafbca
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ name: Coverity scan

on:
schedule:
# Run once a week on Sunday midnight
- cron: '0 0 * * 0'
workflow_dispatch:
- cron: '0 0 * * 0'
workflow_dispatch:

jobs:
build:
Expand Down Expand Up @@ -51,16 +50,18 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: build-log
path: "$COV_RESULTS_DIR/build-log.txt"
path: cov-int/build-log.txt

- name: Submit results
run: |
tar -czf sid.tgz "$COV_RESULTS_DIR"
git config --global --add safe.directory "$GITHUB_WORKSPACE"
GIT_HEAD_HASH="$(git rev-parse HEAD)"
curl --fail --output curl.log \
--form project="$COV_PROJECT_NAME" \
--form token="$COV_TOKEN" \
--form email="$COV_EMAIL" \
--form [email protected] \
--form version="$GIT_HASH"
--form description="Daily Build" \
--form version="$GIT_HEAD_HASH" \
--form description="Github Workflow" \
"$COV_SUBMIT_URL"

0 comments on commit 3bafbca

Please sign in to comment.