Skip to content

Commit 5efb538

Browse files
committed
Switched to using a composite action.
1 parent 5e5427d commit 5efb538

File tree

3 files changed

+7
-19
lines changed

3 files changed

+7
-19
lines changed

.coverage

-52 KB
Binary file not shown.

Dockerfile

Lines changed: 0 additions & 11 deletions
This file was deleted.

action.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ name: Coverage Badge
22
description: Generate coverage.py badge
33
author: tj-actions
44
inputs:
5-
token:
6-
description: 'GITHUB_TOKEN or a Repo scoped PAT'
7-
required: true
8-
default: ${{ github.token }}
95
output:
106
description: 'Output path to write the badge.'
117
required: true
@@ -16,10 +12,13 @@ inputs:
1612
default: 'true'
1713

1814
runs:
19-
using: 'docker'
20-
image: 'Dockerfile'
21-
args:
22-
- ${{ inputs.token }}
15+
using: 'composite'
16+
steps:
17+
- id: coverage-badge
18+
run: |
19+
pip install -U coverage-badge
20+
bash entrypoint.sh
21+
shell: bash
2322
branding:
2423
icon: menu
2524
color: white

0 commit comments

Comments
 (0)