Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nefares committed May 28, 2022
2 parents 6103230 + c47ec1c commit 791b768
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/tagged-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,22 @@ on:
jobs:
publish:
runs-on: windows-latest
defaults:
run:
shell: pwsh

steps:
- uses: actions-ecosystem/action-get-latest-tag@v1
id: get-latest-tag
- uses: actions/checkout@v3
with:
semver_only: true
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x

- name: Get Latest Tag
id: get-latest-tag
run: echo "::set-output name=tag::$(git describe --tags --abbrev=0)"

- uses: actions-ecosystem/action-bump-semver@v1
id: bump-semver
Expand All @@ -35,11 +45,7 @@ jobs:
run: echo $env:latest_version_num
echo $env:latest_version

- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x

- name: Restore dependencies
run: dotnet restore
- name: Build
Expand Down

0 comments on commit 791b768

Please sign in to comment.