Skip to content

Commit

Permalink
change owner of the coverage file from root to runner
Browse files Browse the repository at this point in the history
  • Loading branch information
fanglinfang committed Sep 13, 2024
1 parent 4acc95f commit d6bbaaa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ jobs:
image_tag: ${{ needs.context.outputs.image_tag }}
gcp_json_key: ${{ secrets.GCP_JSON_KEY }}

- name: Change ownership of coverage files
run: sudo chown runner:docker .coverage.*

- name: List all files in the workspace
run: ls -la

Expand All @@ -155,6 +158,7 @@ jobs:
with:
name: python-coverage
path: .coverage.*
include-hidden-files: true

outputs:
image_tag: ${{ steps.cicd.outputs.image_tag }}
Expand Down

0 comments on commit d6bbaaa

Please sign in to comment.