Bump actions/upload-artifact from 3 to 4 #139
Workflow file for this run
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: CI | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
ci: | |
runs-on: windows-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
with: | |
# We need to get all git revisions for the version number to work | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: Add MSBuild to PATH | |
uses: microsoft/setup-msbuild@v1 | |
- name: Build | |
run: CALL "build.bat" Build All Release | |
shell: cmd | |
- name: Set Version variable | |
run: echo "PERF_VER=$(grep VER_STR src/Version.h | cut -d'"' -f2)" >> $GITHUB_ENV | |
shell: bash | |
- name: Upload setup | |
uses: actions/upload-artifact@v4 | |
with: | |
name: "PerfmonBar.${{ env.PERF_VER }}" | |
path: "setup/PerfmonBar.${{ env.PERF_VER }}.exe" | |
if-no-files-found: error |