Skip to content

Commit

Permalink
Merge pull request #145 from ansani/144-fixes-some-deprecations-in-ms…
Browse files Browse the repository at this point in the history
…build-workflow

144 fixes some deprecations in msbuild workflow
  • Loading branch information
ansani committed Apr 25, 2024
2 parents bf87d58 + f6d8885 commit dab5e15
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,22 @@ jobs:
type: [ Release, Debug ]
steps:
- name: Checkout GIT sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v0.9.15
uses: gittools/actions/gitversion/setup@v1
with:
versionSpec: '5.x'

- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v0.9.15
uses: gittools/actions/gitversion/setup@v1
with:
versionSpec: '5.x'

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.3
uses: microsoft/setup-msbuild@v2

- name: Restore NuGet packages (zlibwapi)
working-directory: ${{env.GITHUB_WORKSPACE}}
Expand All @@ -48,7 +48,7 @@ jobs:

- name: Determine Version
id: gitversion
uses: gittools/actions/gitversion/execute@v0.9.15
uses: gittools/actions/gitversion/execute@v1

- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
Expand All @@ -57,7 +57,7 @@ jobs:
run: msbuild ${{env.SOLUTION_FILE_PATH}} /nologo /v:m /t:Rebuild /p:ForceImportBeforeCppTargets=${{env.RELEASEBUILD_FILE_PATH}} /p:Configuration=${{ matrix.type }} /p:Platform=${{ matrix.platform }} /p:DefineConstants=BUILDFROMMSBUILD /p:RevisionSHA=${{ steps.gitversion.outputs.ShortSha }} /p:RevisionDate=${{ steps.gitversion.outputs.commitDate }} /fl /flp:Summary

- name: Archive Shareaza Release
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Shareaza Windows ${{ matrix.platform }} ${{ matrix.type }}
path: setup/builds/*.exe

0 comments on commit dab5e15

Please sign in to comment.