Skip to content

Update actions/checkout to v4 in workflows #15

Update actions/checkout to v4 in workflows

Update actions/checkout to v4 in workflows #15

Workflow file for this run

name: Deploy
on: push
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=Release -DENABLE_ALL_WARNINGS=ON
- name: Build
working-directory: ${{github.workspace}}/build
run: cmake --build . --config Release
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C Release --rerun-failed --output-on-failure
- name: CPack
working-directory: ${{github.workspace}}/build
run: cpack
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
files: |
${{github.workspace}}/build/package/*