Skip to content

Bump actions/upload-artifact from 3 to 4 #139

Bump actions/upload-artifact from 3 to 4

Bump actions/upload-artifact from 3 to 4 #139

Workflow file for this run

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