File tree Expand file tree Collapse file tree 4 files changed +110
-0
lines changed
Expand file tree Collapse file tree 4 files changed +110
-0
lines changed Original file line number Diff line number Diff line change 1+ name : .NET
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ build :
11+
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - uses : actions/checkout@v4
16+ - name : Fetch history
17+ run : git fetch --prune --unshallow
18+ - name : Setup .NET
19+ uses : actions/setup-dotnet@v4
20+ with :
21+ dotnet-version : |
22+ 9.0.x
23+ - name : Restore dependencies
24+ run : |
25+ dotnet restore Migrator.slnx
26+
27+ - name : Build
28+ run : |
29+ dotnet build -c Release Migrator.slnx
Original file line number Diff line number Diff line change 1+ name : .NET Pull Request
2+
3+ on :
4+ pull_request :
5+ branches : [ master ]
6+
7+ jobs :
8+ build :
9+
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/checkout@v4
14+ - name : Setup .NET
15+ uses : actions/setup-dotnet@v4
16+ with :
17+ dotnet-version : |
18+ 9.0.x
19+ - name : Restore dependencies
20+ run : |
21+ dotnet restore Migrator.slnx
22+ - name : Build
23+ run : |
24+ dotnet build Migrator.slnx
Original file line number Diff line number Diff line change 1+ name : .NET
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ build :
9+ permissions : write-all
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/checkout@v4
14+ - name : Fetch history
15+ run : git fetch --prune --unshallow
16+ - name : Setup .NET
17+ uses : actions/setup-dotnet@v4
18+ with :
19+ dotnet-version : |
20+ 9.0.x
21+ - name : Restore dependencies
22+ run : |
23+ dotnet restore Migrator.slnx
24+
25+ - name : Update project version
26+ uses : roryprimrose/set-vs-sdk-project-version@v1
27+ with :
28+ version : ${{ github.event.release.tag_name }}
29+ assemblyVersion : ${{ github.event.release.tag_name }}
30+ fileVersion : ${{ github.event.release.tag_name }}
31+ informationalVersion : ${{ github.event.release.tag_name }}-${{ github.sha }}
32+
33+ - name : Build
34+ run : |
35+ dotnet build -c Release Migrator.slnx
Original file line number Diff line number Diff line change 1+ <Solution >
2+ <Folder Name =" /Core/" >
3+ <Project Path =" src/Migrator/DotNetProjects.Migrator.csproj" />
4+ </Folder >
5+ <Folder Name =" /Extras/" >
6+ <File Path =" doc/README.txt" />
7+ <File Path =" doc/TODO.txt" />
8+ <File Path =" src/MigratorDotNet.snk" />
9+ </Folder >
10+ <Folder Name =" /Extras/.github/" />
11+ <Folder Name =" /Extras/.github/workflows/" >
12+ <File Path =" .github/workflows/dotnet.yml" />
13+ <File Path =" .github/workflows/dotnetpull.yml" />
14+ <File Path =" .github/workflows/release.yml" />
15+ </Folder >
16+ <Folder Name =" /Solution Items/" >
17+ <File Path =" .editorconfig" />
18+ </Folder >
19+ <Folder Name =" /Tests/" >
20+ <Project Path =" src/Migrator.Tests/Migrator.Tests.csproj" />
21+ </Folder >
22+ </Solution >
You can’t perform that action at this time.
0 commit comments