diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e0784547..a8ec57c1 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -33,9 +33,8 @@ jobs: - name: Build run: | git fetch --tags --force # Retrieve annotated tags. #issue 290 - mkdir build - cd build - if [ "${{ matrix.os }}" == "ubuntu-20.04" ]; then cmake -D 'STATIC=1' -D 'FORCE_OLD=on' .. ; else cmake -D 'STATIC=1' ..; fi; + if [ "${{ matrix.os }}" == "ubuntu-20.04" ]; then git submodule update --init tinyxml2; cd tinyxml2; cmake .; make; cd ..; fi; + if [ "${{ matrix.os }}" == "ubuntu-20.04" ]; then cmake -D 'STATIC=1' -D 'FORCE_OLD=on' . ; else cmake .; fi; make - name: Upload Build Artifacts @@ -43,7 +42,7 @@ jobs: uses: actions/upload-artifact@v3 with: name: uuu - path: ./build/uuu/uuu + path: ./uuu/uuu - name: Create or Update Release if: matrix.os == 'ubuntu-20.04' && github.ref_type == 'tag' @@ -54,4 +53,4 @@ jobs: commit: ${{ github.sha }} allowUpdates: true prerelease: true - artifacts: "./build/uuu/uuu" + artifacts: "./uuu/uuu"