This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
Update CMake workflow to trigger on push and pull request events #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CMake | |
on: | |
push: | |
pull_request: | |
env: | |
BUILD_TYPE: Release | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Configure CMake | |
run: cmake -B ${{github.workspace}}\build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} | |
- name: Build | |
run: cmake --build ${{github.workspace}}\build --config ${{env.BUILD_TYPE}} | |
- name: Upload artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: MultiRename.exe | |
path: ${{github.workspace}}\build\Release\MultiRename.exe |