diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a92c2c..c58736f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,39 +25,41 @@ jobs: architecture: arm64 steps: - name: Checkout - uses: actions/checkout@v4.1.1 + uses: actions/checkout@v4 + with: + submodules: 'recursive' - name: Install .NET SDK - uses: actions/setup-dotnet@v4.0.0 + uses: actions/setup-dotnet@v4 with: dotnet-version: "8.0.x" - name: Add MSBuild to PATH - uses: microsoft/setup-msbuild@v1.3.1 + uses: microsoft/setup-msbuild@v2 - - name: Build utilities + - name: Build Utilities shell: pwsh run: | - msbuild /m /t:restore,ffu2vhdx:publish /p:Platform=${{ matrix.architecture }} /p:RuntimeIdentifier=${{ matrix.platform }}-${{ matrix.architecture }} /p:PublishDir=${{ github.workspace }}/artifacts/${{ matrix.platform }}-${{ matrix.architecture }} /p:PublishSingleFile=true /p:PublishTrimmed=false /p:Configuration=Release Ffu2Vhdx.sln + msbuild /m /t:restore,ffu2vhdx:publish /p:Platform=${{ matrix.architecture }} /p:RuntimeIdentifier=${{ matrix.platform }}-${{ matrix.architecture }} /p:PublishDir=${{ github.workspace }}/artifacts/${{ matrix.platform }}-${{ matrix.architecture }} /p:PublishSingleFile=true /p:PublishTrimmed=false /p:Configuration=Release /p:IncludeNativeLibrariesForSelfExtract=true Ffu2Vhdx.sln - name: Create PDB Output Directory shell: pwsh run: | - mkdir ${{ github.workspace }}\artifacts\${{ matrix.platform }}-${{ matrix.architecture }}\PDBs + mkdir ${{ github.workspace }}\artifacts\${{ matrix.platform }}-${{ matrix.architecture }}-symbols - name: Move PDBs shell: pwsh run: | - move ${{ github.workspace }}\artifacts\${{ matrix.platform }}-${{ matrix.architecture }}\*.pdb ${{ github.workspace }}\artifacts\${{ matrix.platform }}-${{ matrix.architecture }}\PDBs\ + move ${{ github.workspace }}\artifacts\${{ matrix.platform }}-${{ matrix.architecture }}\*.pdb ${{ github.workspace }}\artifacts\${{ matrix.platform }}-${{ matrix.architecture }}-symbols - name: Upload artifact (Binaries) - uses: actions/upload-artifact@v3.1.3 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.platform }}-${{ matrix.architecture }}-binaries path: ${{ github.workspace }}/artifacts/${{ matrix.platform }}-${{ matrix.architecture }} - name: Upload artifact (Symbols) - uses: actions/upload-artifact@v3.1.3 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.platform }}-${{ matrix.architecture }}-symbols - path: ${{ github.workspace }}/artifacts/${{ matrix.platform }}-${{ matrix.architecture }}\PDBs \ No newline at end of file + path: ${{ github.workspace }}/artifacts/${{ matrix.platform }}-${{ matrix.architecture }}-symbols \ No newline at end of file