Bump gitversion.tool from 5.12.0 to 6.0.2 #1234
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate Diagram | |
on: | |
push: | |
branches: [ main, release* ] | |
tags: [ v* ] | |
pull_request: | |
branches: [ main, release* ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "[Setup] - Checkout code" | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Required for GitVersion | |
submodules: 'recursive' | |
- name: "[Setup] - .NET Core" | |
uses: actions/setup-dotnet@v3 | |
with: | |
global-json-file: ./global.json | |
- name: "[Setup] - Install Ruby" | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.1 # Not needed with a .ruby-version file | |
bundler-cache: true | |
- name: "Generate Diagram" | |
run: bin/generate-diagram.rb | |
- name: "Committing Diagram" | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Committing auto generated diagram. | |
file_pattern: docs/activities-and-events.md |