Skip to content

Commit d00b50c

Browse files
committed
2 parents f44b67f + 5f404a7 commit d00b50c

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

.github/workflows/main.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,12 @@ jobs:
1515
# This workflow contains a single job called "build"
1616
build:
1717
# The type of runner that the job will run on
18-
runs-on: windows-2019
18+
runs-on: windows-2022
1919

2020
# Steps represent a sequence of tasks that will be executed as part of the job
2121
steps:
2222
- name: Install 7Zip PowerShell Module
2323
shell: powershell
24-
2524
run: |
2625
# cancel early, if not build commit
2726
$strVal ='${{ github.event.commits[0].message }}'
@@ -33,22 +32,28 @@ jobs:
3332
exit(1)
3433
}
3534
Install-Module 7Zip4PowerShell -Force -Verbose
36-
- uses: actions/checkout@v2
35+
36+
- name: Checkout repository
37+
uses: actions/checkout@v3
38+
39+
- name: Setup .NET 8.0 SDK
40+
uses: actions/setup-dotnet@v3
41+
with:
42+
dotnet-version: '8.0.x'
3743

3844
- name: Restore NuGet packages
39-
run: nuget restore PointCloudConverter.sln
45+
run: dotnet restore PointCloudConverter.sln
4046

4147
- name: Build Binary
42-
shell: cmd
43-
run: call .\Build.cmd
44-
48+
run: dotnet build PointCloudConverter.sln --configuration Release --no-restore
49+
4550
- name: Build Artifact
4651
shell: cmd
4752
run: call .\ArtifactBuild.cmd
4853

4954
- name: Create Release
5055
id: create_release
51-
uses: actions/create-release@latest
56+
uses: actions/create-release@v1
5257
env:
5358
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5459
with:

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ Pull requests to improve this converter are welcome! (please create Issue first,
3535
### Images
3636
![image](https://github.com/unitycoder/PointCloudConverter/assets/5438317/da7fb1ce-c4bb-49f5-930d-1c388ca1671b)
3737

38+

0 commit comments

Comments
 (0)