Skip to content

Commit

Permalink
restore to previous version
Browse files Browse the repository at this point in the history
  • Loading branch information
manups4e committed Apr 4, 2024
1 parent 3f088eb commit 22b2418
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/build-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ jobs:
with:
fetch-depth: 0

- name: Setup - GitVersion
uses: gittools/actions/gitversion/setup@v0
with:
versionSpec: '5.x'
preferLatestVersion: true

- name: Setup - dotnet framework 4.8
run: |
choco install netfx-4.8-devpack -y
Expand All @@ -36,14 +42,18 @@ jobs:
env:
NUGET_AUTH_TOKEN: ${{ github.token }}

- name: GitVersion
id: git-version
uses: gittools/actions/gitversion/execute@v0
with:
useConfigFile: true

- name: Install dotnet tool
run: dotnet tool install -g dotnetCampus.TagToVersion

- name: Set tag to version client
run: dotnet TagToVersion -t ${{ github.ref }} -f src/FxEvents.Client/build/Version.props

- name: Set tag to version server
run: dotnet TagToVersion -t ${{ github.ref }} -f src/FxEvents.Server/build/Version.props
- name: Set tag to version
run: dotnet TagToVersion -t ${{ github.ref }}

- name: Dotnet - Restore
run: dotnet restore
Expand Down
3 changes: 1 addition & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<Project>
<Import Project="src\FxEvents.Client\build\Version.props" />
<Import Project="src\FxEvents.Server\build\Version.props" />
<Import Project="build\Version.props" />
</Project>
File renamed without changes.
5 changes: 0 additions & 5 deletions src/FxEvents.Server/build/Version.props

This file was deleted.

0 comments on commit 22b2418

Please sign in to comment.