Update reportgenerator to 5.4.3 (#264) #228
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: Create Milestone and Draft Release | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- '**/*.md' | |
jobs: | |
create_milestone_and_draft_release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- name: Fetch all history for all tags and branches | |
run: git fetch --prune | |
- name: Install GitVersion | |
uses: gittools/actions/gitversion/[email protected] | |
with: | |
versionSpec: '5.x' | |
- name: Install GitReleaseManager | |
uses: gittools/actions/gitreleasemanager/[email protected] | |
with: | |
versionSpec: '0.13.x' | |
- name: Use GitVersion | |
id: gitversion | |
uses: gittools/actions/gitversion/[email protected] | |
- name: Create Milestone | |
uses: WyriHaximus/[email protected] | |
with: | |
title: v${{ steps.gitversion.outputs.majorMinorPatch }} | |
env: | |
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' | |
continue-on-error: true | |
- name: Get Repo and Owner | |
shell: pwsh | |
id: repository | |
run: | | |
$parts = $ENV:GITHUB_REPOSITORY.Split('/') | |
echo "::set-output name=owner::$($parts[0])" | |
echo "::set-output name=repository::$($parts[1])" | |
- name: sync milestones | |
uses: RocketSurgeonsGuild/actions/[email protected] | |
with: | |
default-label: ':sparkles: mysterious' | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Create Draft Release | |
shell: pwsh | |
run: | | |
dotnet gitreleasemanager create ` | |
-o "${{ steps.repository.outputs.owner }}" ` | |
-r "${{ steps.repository.outputs.repository }}" ` | |
--token "${{ secrets.RSG_BOT_TOKEN }}" ` | |
-m "v${{ steps.gitversion.outputs.majorMinorPatch }}" | |
- name: Export Changelog | |
shell: pwsh | |
run: | | |
dotnet gitreleasemanager export ` | |
-o "${{ steps.repository.outputs.owner }}" ` | |
-r "${{ steps.repository.outputs.repository }}" ` | |
--token "${{ secrets.GITHUB_TOKEN }}" ` | |
-f CHANGELOG.md |