mirror of https://github.com/FreeRDP/FreeRDP
[ci,timezone] fix dotnet restore arguments
This commit is contained in:
parent
5764b8d49e
commit
06617a2c45
|
@ -15,6 +15,7 @@ jobs:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
@ -22,24 +23,28 @@ jobs:
|
||||||
uses: actions/setup-dotnet@v4
|
uses: actions/setup-dotnet@v4
|
||||||
with:
|
with:
|
||||||
dotnet-version: 8.0.x
|
dotnet-version: 8.0.x
|
||||||
- name: Restore dependencies
|
|
||||||
run: dotnet restore
|
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
run: cmake -G"Visual Studio 17 2022" -Bbuild -Swinpr\libwinpr\timezone\utils
|
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
|
- name: Build & Install CMake
|
||||||
run: cmake --build build --config Release
|
run: cmake --build build --config Release
|
||||||
- name: Update timezones
|
- name: Update timezones
|
||||||
run: build\Release\tzextract.exe winpr\libwinpr\timezone
|
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
|
- name: Create Pull Request
|
||||||
id: cpr
|
id: cpr
|
||||||
uses: peter-evans/create-pull-request@v6
|
uses: peter-evans/create-pull-request@v6
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.PAT }}
|
|
||||||
commit-message: Update timezone definitions
|
commit-message: Update timezone definitions
|
||||||
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
||||||
author: ${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com>
|
author: ${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com>
|
||||||
signoff: false
|
signoff: false
|
||||||
branch: timezone-patches
|
branch: timezone-patches
|
||||||
|
branch-suffix: timestamp
|
||||||
delete-branch: true
|
delete-branch: true
|
||||||
title: '[timezones] Update definitions'
|
title: '[timezones] Update definitions'
|
||||||
body: |
|
body: |
|
||||||
|
@ -48,12 +53,9 @@ jobs:
|
||||||
|
|
||||||
[1]: https://github.com/peter-evans/create-pull-request
|
[1]: https://github.com/peter-evans/create-pull-request
|
||||||
labels: |
|
labels: |
|
||||||
report
|
|
||||||
automated pr
|
automated pr
|
||||||
assignees: akallabeth
|
assignees: akallabeth
|
||||||
reviewers: akallabeth
|
reviewers: akallabeth
|
||||||
team-reviewers: |
|
team-reviewers: |
|
||||||
developers
|
FreeRDP-Admin
|
||||||
qa-team
|
|
||||||
milestone: 1
|
|
||||||
draft: false
|
draft: false
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
**/CMakeCache.txt
|
**/CMakeCache.txt
|
||||||
**/CMakeFiles
|
**/CMakeFiles
|
||||||
|
build
|
||||||
|
|
Loading…
Reference in New Issue