fix(releases): Removes .NET 5 from releases workflow and fixes checkout tags (#487)

This commit is contained in:
Kamron Batman 2021-02-08 00:51:43 -08:00 committed by GitHub
parent 1cdd70ed46
commit 17d8620cd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,10 +12,6 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
- name: Setup .NET 5
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.102
- name: Install NGBV
uses: dotnet/nbgv@master
id: nbgv
@ -27,7 +23,12 @@ jobs:
repo: ModernUO
excludes: prerelease, draft
- name: Create fake tag for diffing
run: git checkout ${{ steps.last_release.outputs.release }} && git tag v0.1.0 -m "Old" && git checkout -
run: |
git config --global user.name "Runner"
git config --global user.email "hi@modernuo.com"
git checkout ${{ steps.last_release.outputs.release }}
git tag v0.1.0 -m "Old"
git checkout -
- name: Conventional Changelog
id: changelog
uses: TriPSs/conventional-changelog-action@v3