Skip to content

. e mdsnipperts action #138

. e mdsnipperts action

. e mdsnipperts action #138

Workflow file for this run

on:
push:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/approval_tests
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v4
- name: Set up .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
- name: Install Dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
format_and_snippets:
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/approval_tests
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v4
- name: ♻️ Run MarkdownSnippets
run: |
dotnet tool install --global MarkdownSnippets.Tool
mdsnippets ${GITHUB_WORKSPACE}
shell: bash
- name: ⬆️ Git Commit and Push
uses: github-actions-x/commit@v2.9
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
commit-message: ". d updated markdown snippets"
rebase: 'true'
push-branch: 'main'
name: github actions
email: actions@github.com