diff --git a/.github/workflows/linux-build-test.yml b/.github/workflows/linux-build-test.yml index e16130a..16abd2f 100644 --- a/.github/workflows/linux-build-test.yml +++ b/.github/workflows/linux-build-test.yml @@ -10,28 +10,28 @@ on: pull_request: branches: [ "main" ] workflow_dispatch: - + jobs: build-linux: runs-on: ubuntu-latest - + env: Solution_Name: '${{github.workspace}}/RTWLib_CLI/RTWLib_Solution.sln' # Replace with your solution name, i.e. MyWpfApp.sln. Test_Project_Path: '${{github.workspace}}/RTWLib_Tests/RTWLib_Tests.csproj' - + steps: - name: Checkout Code uses: actions/checkout@v2 - + - name: Install .NET Core Runtime uses: actions/setup-dotnet@v1 with: - dotnet-version: '7.0.x' - + dotnet-version: '8.0.x' + - name: Create Output Directory run: mkdir -p '${{github.workspace}}/RTWLib_Tests/bin/Debug/netcoreapp7.0/resources' - + - name: Copy Resources run: cp -r ./RTWLib_Tests/resources/. ${{ github.workspace }}/RTWLib_Tests/bin/Debug/netcoreapp7.0/resources/ diff --git a/.github/workflows/macos-build-test.yml b/.github/workflows/macos-build-test.yml index 4e8d2a6..2aa1148 100644 --- a/.github/workflows/macos-build-test.yml +++ b/.github/workflows/macos-build-test.yml @@ -24,11 +24,11 @@ jobs: - name: Install .NET Core Runtime uses: actions/setup-dotnet@v1 with: - dotnet-version: '7.0.x' + dotnet-version: '8.0.x' - name: Create Output Directory run: mkdir -p '${{github.workspace}}/RTWLib_Tests/bin/Debug/netcoreapp7.0/resources' - + - name: Copy Resources run: cp -r ./RTWLib_Tests/resources/. ${{ github.workspace }}/RTWLib_Tests/bin/Debug/netcoreapp7.0/resources/ diff --git a/.github/workflows/windows-build-test.yml b/.github/workflows/windows-build-test.yml index aaf6cd1..6f613c0 100644 --- a/.github/workflows/windows-build-test.yml +++ b/.github/workflows/windows-build-test.yml @@ -10,7 +10,7 @@ on: pull_request: branches: [ "main" ] workflow_dispatch: - + jobs: build-windows: @@ -20,7 +20,7 @@ jobs: env: Solution_Name: '\RTWLIB_CLI\RTWLIB_CLI.sln' # Replace with your solution name, i.e. MyWpfApp.sln. Test_Project_Path: './RTWLib_Tests/RTWLib_Tests.csproj' # Replace with the path to your test project, i.e. MyWpfApp.Tests\MyWpfApp.Tests.csproj. - + steps: - name: Checkout uses: actions/checkout@v3 @@ -31,7 +31,7 @@ jobs: - name: Install .NET Core uses: actions/setup-dotnet@v3 with: - dotnet-version: '7.0.x' + dotnet-version: '8.0.x' # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild - name: Setup MSBuild.exe @@ -39,13 +39,13 @@ jobs: - name: Copy Resources run: cp -r ./RTWLib_Tests/resources ./RTWLib_Tests/bin/Debug/netcoreapp7.0/resources - + - name: Log files run: ls ./RTWLib_Tests/bin/Debug/netcoreapp7.0/ - name: Restore packages run: dotnet restore ./RTWLib_CLI/RTWLib_CLI.csproj - + - name: Build with dotnet run: dotnet build ./RTWLib_CLI/RTWLib_CLI.csproj --configuration Release --no-restore