Skip to content

Commit

Permalink
Create artefact earlier.
Browse files Browse the repository at this point in the history
  • Loading branch information
dillof committed Aug 25, 2024
1 parent 11aadc5 commit 036740a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ jobs:
working-directory: ${{runner.workspace}}/build
run: |
cmake ${{ matrix.cmake_extra }} -DCMAKE_TOOLCHAIN_FILE=${{env.VCPKG_ROOT}}/scripts/buildsystems/vcpkg.cmake ${{github.workspace}}
- name: Archive production artifacts
if: ${{ runner.os == 'Windows' }}
uses: actions/upload-artifact@v4
with:
name: build-directory-${{ matrix.os }}-${{ matrix.name_extra }}
path: |
${{runner.workspace}}/build
- name: build
working-directory: ${{runner.workspace}}/build
run: |
Expand All @@ -55,10 +62,3 @@ jobs:
working-directory: ${{runner.workspace}}/build
run: |
ctest --output-on-failure --verbose -C Release
- name: Archive production artifacts
if: ${{ runner.os == 'Windows' }}
uses: actions/upload-artifact@v4
with:
name: build-directory-${{ matrix.os }}-${{ matrix.name_extra }}
path: |
${{runner.workspace}}/build

0 comments on commit 036740a

Please sign in to comment.