[ci,timezone] fix dotnet restore arguments

This commit is contained in:
akallabeth 2024-07-23 15:18:51 +02:00
parent 5764b8d49e
commit 0bebcebd54
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5
2 changed files with 10 additions and 6 deletions

View File

@ -15,6 +15,7 @@ jobs:
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v4
@ -22,19 +23,22 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Configure CMake
run: cmake -G"Visual Studio 17 2022" -Bbuild -Swinpr\libwinpr\timezone\utils
- name: Restore dependencies
run: dotnet restore build\tzextract.sln
- name: Build & Install CMake
run: cmake --build build --config Release
- name: Update timezones
run: build\Release\tzextract.exe winpr\libwinpr\timezone
- name: Format code
run: |
clang-format -i --style=file winpr/libwinpr/timezone/TimeZoneNameMap.c
clang-format -i --style=file winpr/libwinpr/timezone/TimeZoneNameMap.json
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.PAT }}
commit-message: Update timezone definitions
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
author: ${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com>
@ -53,7 +57,6 @@ jobs:
assignees: akallabeth
reviewers: akallabeth
team-reviewers: |
developers
qa-team
milestone: 1
FreeRDP-Admin
Core
draft: false

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
**/CMakeCache.txt
**/CMakeFiles
build