[ci,timezone] fix dotnet restore arguments
This commit is contained in:
parent
5764b8d49e
commit
0bebcebd54
15
.github/workflows/timezone-update.yml
vendored
15
.github/workflows/timezone-update.yml
vendored
@ -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
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
**/CMakeCache.txt
|
||||
**/CMakeFiles
|
||||
build
|
||||
|
Loading…
Reference in New Issue
Block a user