Skip to content

Commit d3818ad

Browse files
committed
Simplify release workflow: Windows-only builds (x64 and ARM64)
1 parent 06bac1d commit d3818ad

5 files changed

Lines changed: 12 additions & 45 deletions

File tree

.github/RELEASE_QUICKREF.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,8 @@ Before creating a release:
7171
## Platform Output Files
7272

7373
The automated workflow creates these files:
74-
- `ImageToPose-Windows-x64.zip` - Windows 64-bit
75-
- `ImageToPose-Windows-ARM64.zip` - Windows ARM
76-
- `ImageToPose-Linux-x64.zip` - Linux 64-bit
77-
- `ImageToPose-macOS-x64.zip` - macOS Intel
78-
- `ImageToPose-macOS-ARM64.zip` - macOS ARM (M1/M2/M3)
74+
- `ImageToPose-Windows-x64.zip` - Windows 64-bit Intel/AMD
75+
- `ImageToPose-Windows-ARM64.zip` - Windows ARM64 (Surface, etc.)
7976

8077
## First-Time Setup
8178

.github/RELEASE_TEMPLATE.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ Download the appropriate version for your platform:
3131

3232
- **Windows (64-bit Intel/AMD):** `ImageToPose-Windows-x64.zip`
3333
- **Windows (ARM64):** `ImageToPose-Windows-ARM64.zip` *(for Surface devices, etc.)*
34-
- **Linux (64-bit):** `ImageToPose-Linux-x64.zip`
35-
- **macOS (Intel):** `ImageToPose-macOS-x64.zip`
36-
- **macOS (Apple Silicon):** `ImageToPose-macOS-ARM64.zip` *(for M1/M2/M3 Macs)*
3734

3835
### First Time Setup
3936
1. Extract the zip file
@@ -50,7 +47,7 @@ Simply download the new version and replace the old executable. Your settings wi
5047

5148
## 📋 Requirements
5249

53-
- Windows 10/11 (64-bit) or macOS 10.15+ or Linux with GTK
50+
- Windows 10/11 (64-bit)
5451
- OpenAI API key
5552
- Internet connection for API calls
5653

.github/workflows/release.yml

Lines changed: 5 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,14 @@ on:
77

88
jobs:
99
build-and-release:
10-
runs-on: ${{ matrix.os }}
10+
runs-on: windows-latest
1111
strategy:
1212
matrix:
1313
include:
14-
- os: windows-latest
15-
runtime: win-x64
14+
- runtime: win-x64
1615
artifact-name: ImageToPose-Windows-x64
17-
- os: windows-latest
18-
runtime: win-arm64
16+
- runtime: win-arm64
1917
artifact-name: ImageToPose-Windows-ARM64
20-
- os: ubuntu-latest
21-
runtime: linux-x64
22-
artifact-name: ImageToPose-Linux-x64
23-
- os: macos-latest
24-
runtime: osx-x64
25-
artifact-name: ImageToPose-macOS-x64
26-
- os: macos-latest
27-
runtime: osx-arm64
28-
artifact-name: ImageToPose-macOS-ARM64
2918

3019
steps:
3120
- name: Checkout code
@@ -45,17 +34,8 @@ jobs:
4534
- name: Publish application
4635
run: dotnet publish src/DesktopApp/ImageToPose.Desktop/ImageToPose.Desktop.csproj --configuration Release --runtime ${{ matrix.runtime }} --self-contained true --output ./publish/${{ matrix.runtime }} -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -p:EnableCompressionInSingleFile=true -p:DebugType=None -p:DebugSymbols=false
4736

48-
- name: Create archive (Windows)
49-
if: runner.os == 'Windows'
50-
run: |
51-
Compress-Archive -Path ./publish/${{ matrix.runtime }}/* -DestinationPath ./${{ matrix.artifact-name }}.zip
52-
53-
- name: Create archive (Unix)
54-
if: runner.os != 'Windows'
55-
run: |
56-
cd ./publish/${{ matrix.runtime }}
57-
zip -r ../../${{ matrix.artifact-name }}.zip .
58-
cd ../..
37+
- name: Create archive
38+
run: Compress-Archive -Path ./publish/${{ matrix.runtime }}/* -DestinationPath ./${{ matrix.artifact-name }}.zip
5939

6040
- name: Upload artifact
6141
uses: actions/upload-artifact@v4
@@ -92,8 +72,5 @@ jobs:
9272
files: |
9373
./artifacts/ImageToPose-Windows-x64/ImageToPose-Windows-x64.zip
9474
./artifacts/ImageToPose-Windows-ARM64/ImageToPose-Windows-ARM64.zip
95-
./artifacts/ImageToPose-Linux-x64/ImageToPose-Linux-x64.zip
96-
./artifacts/ImageToPose-macOS-x64/ImageToPose-macOS-x64.zip
97-
./artifacts/ImageToPose-macOS-ARM64/ImageToPose-macOS-ARM64.zip
9875
env:
9976
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,8 @@ The workflow combines computer vision analysis with biomechanical understanding
3333
**[📦 Download Latest Release](https://github.com/AlexRynas/Image_To_Pose_Generator/releases/latest)**
3434

3535
Available for:
36-
- Windows (x64, ARM64)
37-
- Linux (x64)
38-
- macOS (Intel, Apple Silicon)
36+
- **Windows 10/11** (64-bit Intel/AMD)
37+
- **Windows 11** (ARM64 - for Surface and other ARM devices)
3938

4039
### Quick Start
4140

@@ -50,7 +49,7 @@ Available for:
5049

5150
### Requirements
5251

53-
- **Windows 10/11** (64-bit), macOS 10.15+, or Linux with GTK
52+
- **Windows 10/11** (64-bit)
5453
- **OpenAI API key** (required - you provide your own)
5554
- Internet connection for API calls
5655

docs/GitHubReleaseGuide.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ To ensure code quality:
8080

8181
This is the main release workflow that:
8282
- **Triggers on:** Version tags (v*.*.*)
83-
- **Builds for:** Windows (x64, ARM64), Linux (x64), macOS (x64, ARM64)
83+
- **Builds for:** Windows (x64, ARM64)
8484
- **Runs:** All unit tests before building
8585
- **Creates:** A GitHub release with:
8686
- Auto-generated release notes from commits
@@ -90,9 +90,6 @@ This is the main release workflow that:
9090
**Build artifacts naming:**
9191
- `ImageToPose-Windows-x64.zip` - Windows 64-bit Intel/AMD
9292
- `ImageToPose-Windows-ARM64.zip` - Windows ARM64 (Surface, etc.)
93-
- `ImageToPose-Linux-x64.zip` - Linux 64-bit
94-
- `ImageToPose-macOS-x64.zip` - macOS Intel
95-
- `ImageToPose-macOS-ARM64.zip` - macOS Apple Silicon (M1/M2/M3)
9693

9794
### `.github/workflows/ci.yml`
9895

0 commit comments

Comments
 (0)