Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Omochice committed Jun 3, 2024
1 parent b9bde7c commit bd0daab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit bd0daab

Please sign in to comment.