Skip to content

Commit e7be4df

Browse files
committed
ci: use winget
1 parent 61eb733 commit e7be4df

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,12 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v3
1414

15-
- run: |
16-
choco install xmake -y
17-
$env:PATH += ";$env:ProgramData\chocolatey\bin"
18-
xmake --version
15+
- name: Install xmake
1916
shell: pwsh
17+
run: |
18+
winget install xmake --silent --accept-source-agreements
19+
xmake --version
2020
21-
- run: |
22-
$env:PATH += ";$env:ProgramData\chocolatey\bin"
23-
xmake build server
21+
- name: Build server
2422
shell: pwsh
23+
run: xmake build server

0 commit comments

Comments
 (0)