Browse Source

version 0.3.1.0 and build action

stan 3 weeks ago
parent
commit
8188762d27
2 changed files with 39 additions and 2 deletions
  1. 37 0
      .github/workflows/build.yml
  2. 2 2
      Sunrise/resources/resource.h

+ 37 - 0
.github/workflows/build.yml

@@ -0,0 +1,37 @@
+name: Build
+
+on:
+  push:
+    branches: [master]
+  pull_request:
+  workflow_dispatch:
+
+jobs:
+  release:
+    name: Release x64
+    # The image carries Visual Studio 2026, so the project's own v145 toolset and its
+    # 10.0.26100.0 SDK are both present. No toolset override.
+    runs-on: windows-2025-vs2026
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v4
+
+      - name: Add MSBuild to PATH
+        uses: microsoft/setup-msbuild@v2
+
+      - name: Build
+        run: >
+          msbuild Sunrise.sln /m
+          /p:Configuration=Release
+          /p:Platform=x64
+          /verbosity:minimal
+
+      - name: Upload artifact
+        uses: actions/upload-artifact@v4
+        with:
+          name: Sunrise-Release-x64
+          path: |
+            build/x64/Release/steam_api64.dll
+            build/x64/Release/steam_api64.pdb
+          if-no-files-found: error

+ 2 - 2
Sunrise/resources/resource.h

@@ -10,7 +10,7 @@
 /** The four numeric fields of the version resource, in FILEVERSION order. */
 #define SUNRISE_VER_MAJOR 0
 #define SUNRISE_VER_MINOR 3
-#define SUNRISE_VER_PATCH 0
+#define SUNRISE_VER_PATCH 1
 #define SUNRISE_VER_BUILD 0
 /** The same version as display text. Windows shows this string, not the four fields. */
-#define SUNRISE_VER_STRING "0.3.0.0"
+#define SUNRISE_VER_STRING "0.3.1.0"