Merge pull request #10414 from FreeRDP/akallabeth-patch-1
[ci,timezone] fix dotnet restore arguments
This commit is contained in:
commit
bce6de1125
16
.github/workflows/timezone-update.yml
vendored
16
.github/workflows/timezone-update.yml
vendored
@ -15,6 +15,7 @@ jobs:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@ -22,24 +23,28 @@ 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>
|
||||
signoff: false
|
||||
branch: timezone-patches
|
||||
branch-suffix: timestamp
|
||||
delete-branch: true
|
||||
title: '[timezones] Update definitions'
|
||||
body: |
|
||||
@ -48,12 +53,9 @@ jobs:
|
||||
|
||||
[1]: https://github.com/peter-evans/create-pull-request
|
||||
labels: |
|
||||
report
|
||||
automated pr
|
||||
assignees: akallabeth
|
||||
reviewers: akallabeth
|
||||
team-reviewers: |
|
||||
developers
|
||||
qa-team
|
||||
milestone: 1
|
||||
FreeRDP-Admin
|
||||
draft: false
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
**/CMakeCache.txt
|
||||
**/CMakeFiles
|
||||
build
|
||||
|
Loading…
Reference in New Issue
Block a user