File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -51,15 +51,18 @@ jobs:
51
51
uses : jaxxstorm/action-install-gh-release@v1.12.0
52
52
with :
53
53
repo : k1LoW/octocov
54
+ - name : create filename
55
+ id : filename
56
+ run : echo "filename=badge-${{ runner.os }}-$(test \"${{ matrix.neovim }}\" = \"true\" && echo \"neovim\" || echo \"vim\" )-${{ matrix.version }}.svg" >> "$GITHUB_OUTPUT"
54
57
- name : make covarage badge
55
58
run : |
56
- octocov badge coverage --out ${{ github.workspace }}/badge- ${{ runner.os }}-$(test "${{ matrix.neovim }}" = "true" && echo "neovim" || echo "vim" )-${{ matrix.version }}.svg
59
+ octocov badge coverage --out ${{ github.workspace }}/${{ steps.filename.outputs.filename }}
57
60
- run : ls
58
61
- name : upload badge to artifact
59
62
uses : actions/upload-artifact@v4
60
63
with :
61
- path : badge- ${{ runner.os }}-$(test "${{ matrix.neovim }}" = "true" && echo "neovim" || echo "vim" )-${{ matrix.version }}.svg
62
- name : badge- ${{ runner.os }}-$(test "${{ matrix.neovim }}" = "true" && echo "neovim" || echo "vim" )-${{ matrix.version }}.svg
64
+ path : ${{ steps.filename.outputs.filename }}
65
+ name : ${{ steps.filename.outputs.filename }}
63
66
if-no-files-found : error
64
67
65
68
upload-coverage-badge :
You can’t perform that action at this time.
0 commit comments