diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 789b3bd..94cca09 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,14 +50,14 @@ jobs: - uses: k1LoW/octocov-action@5213913fe329368ab9dafa16f18f4f3cce1062f0 # v1.3.0 - name: create filename id: filename - run: echo "filename=badge-${{ runner.os }}-$(test \"${{ matrix.neovim }}\" = \"true\" && echo neovim || echo vim )-${{ matrix.version }}.svg" >> "$GITHUB_OUTPUT" + run: echo "filename=badge-${{ runner.os }}-$(test \"${{ matrix.neovim }}\" = \"true\" && echo neovim || echo vim )-${{ matrix.version }}" >> "$GITHUB_OUTPUT" - name: make covarage badge run: | - octocov badge coverage --out ${{ github.workspace }}/${{ steps.filename.outputs.filename }} + octocov badge coverage --out ${{ github.workspace }}/${{ steps.filename.outputs.filename }}.svg - name: upload badge to artifact uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 with: - path: ${{ steps.filename.outputs.filename }} + path: ${{ steps.filename.outputs.filename }}.svg name: ${{ steps.filename.outputs.filename }} if-no-files-found: error