Skip to content

Commit 4480804

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents da498ef + 4651102 commit 4480804

636 files changed

Lines changed: 4467 additions & 2862 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/docfx.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.github/workflows/master.yml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@ jobs:
2222
run: |
2323
$MidnightUtc = [DateTime]::UtcNow.Date
2424
$BranchName = "${{ github.ref_name }}".replace('/','-').replace('.','-')
25-
$ApiVersion = (Select-Xml -Path 'src/Artemis.Core/Artemis.Core.csproj' -XPath '//PluginApiVersion').Node.InnerText
2625
$NumberOfCommitsToday = (git log --after=$($MidnightUtc.ToString("o")) --oneline | Measure-Object -Line).Lines
27-
$VersionNumber = "$ApiVersion.$($MidnightUtc.ToString("yyyy.MMdd")).$NumberOfCommitsToday"
26+
$VersionNumber = "1.$($MidnightUtc.ToString("yyyy.MMdd")).$NumberOfCommitsToday"
2827
# If we're not in master, add the branch name to the version so it counts as prerelease
2928
if ($BranchName -ne "master") { $VersionNumber += "-$BranchName" }
3029
"version-number=$VersionNumber" >> $Env:GITHUB_OUTPUT
@@ -52,26 +51,12 @@ jobs:
5251
uses: actions/checkout@v4
5352
with:
5453
path: Artemis
55-
- name: Checkout Plugins
56-
uses: actions/checkout@v4
57-
with:
58-
repository: Artemis-RGB/Artemis.Plugins
59-
path: Artemis.Plugins
6054
- name: Setup .NET
6155
uses: actions/setup-dotnet@v4
6256
with:
63-
dotnet-version: '9.0.x'
57+
dotnet-version: '10.0.x'
6458
- name: Publish Artemis
6559
run: dotnet publish --configuration Release -p:Version=${{ needs.version.outputs.version-number }} --runtime ${{ matrix.rid }} --output build/${{ matrix.rid }} --self-contained Artemis/src/Artemis.UI.${{ matrix.csproj }}/Artemis.UI.${{ matrix.csproj }}.csproj
66-
- name: Publish Plugins
67-
run: |
68-
New-Item -ItemType "Directory" -Path build/${{ matrix.rid }}/Plugins/
69-
Get-ChildItem -File -Recurse -Filter *.csproj Artemis.Plugins/src/ |
70-
Foreach-Object -Parallel {
71-
dotnet publish --configuration Release --runtime ${{ matrix.rid }} --output build-plugins/$($_.BaseName) --no-self-contained $($_.FullName);
72-
Compress-Archive -Path "build-plugins/$($_.BaseName)" -DestinationPath "build/${{ matrix.rid }}/Plugins/$($_.BaseName).zip";
73-
}
74-
shell: pwsh
7560
- name: Upload Artifact
7661
uses: actions/upload-artifact@v4
7762
with:

.github/workflows/nuget.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@ jobs:
2222
run: |
2323
$MidnightUtc = [DateTime]::UtcNow.Date
2424
$BranchName = "${{ github.ref_name }}".replace('/','-').replace('.','-')
25-
$ApiVersion = (Select-Xml -Path 'src/Artemis.Core/Artemis.Core.csproj' -XPath '//PluginApiVersion').Node.InnerText
2625
$NumberOfCommitsToday = (git log --after=$($MidnightUtc.ToString("o")) --oneline | Measure-Object -Line).Lines
27-
$VersionNumber = "$ApiVersion.$($MidnightUtc.ToString("yyyy.MMdd")).$NumberOfCommitsToday"
26+
$VersionNumber = "1.$($MidnightUtc.ToString("yyyy.MMdd")).$NumberOfCommitsToday"
2827
# If we're not in master, add the branch name to the version so it counts as prerelease
2928
if ($BranchName -ne "master") { $VersionNumber += "-$BranchName" }
3029
"version-number=$VersionNumber" >> $Env:GITHUB_OUTPUT
@@ -37,7 +36,7 @@ jobs:
3736
- name: Setup .NET
3837
uses: actions/setup-dotnet@v4
3938
with:
40-
dotnet-version: '9.0.x'
39+
dotnet-version: '10.0.x'
4140
- name: Checkout
4241
uses: actions/checkout@v4
4342
- name: Pack Artemis.Core

ci/azure-pipelines-docfx.yml

Lines changed: 0 additions & 55 deletions
This file was deleted.

ci/azure-pipelines.yml

Lines changed: 0 additions & 216 deletions
This file was deleted.

0 commit comments

Comments
 (0)