-
-
Notifications
You must be signed in to change notification settings - Fork 40
36 lines (29 loc) · 865 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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@v2
- 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