diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6564796..447a8c6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,7 +30,10 @@ jobs: - name: LS run: ls working-directory: build/27/ - + + - name: Build sln and zip + run: ./build.ps1 zip + - uses: actions/upload-artifact@v4 with: name: output-${{ env.GitVersion_FullSemVer }} diff --git a/ci-build/Program.cs b/ci-build/Program.cs index 98df13c..b29c8f8 100644 --- a/ci-build/Program.cs +++ b/ci-build/Program.cs @@ -61,14 +61,13 @@ void RemoveDirectory(string d) Target( BUILD, - DependsOn(RUN_CMAKE), Consts.SupportedVersions, s => { var version = Environment.GetEnvironmentVariable("GitVersion_FullSemVer") ?? "3.0.0-localBuild"; var fileVersion = Environment.GetEnvironmentVariable("GitVersion_AssemblySemFileVer") ?? "3.0.0.9999"; Console.WriteLine($"Version: {version} & {fileVersion}"); - Run("msbuild", $"./build/{s}/archicad-speckle.sln /p:Configuration=Release /p:Version={version} /p:FileVersion={fileVersion}"); + Run("msbuild", $"archicad-speckle.sln /p:Configuration=Release /p:Version={version} /p:FileVersion={fileVersion}", $"./build/{s}/"); } );