Skip to content

Commit 8bd3222

Browse files
committed
Add build-windows-exe.yml workflow
1 parent a68327c commit 8bd3222

2 files changed

Lines changed: 27 additions & 2 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build Windows EXE
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
workflow_dispatch:
8+
9+
jobs:
10+
build-windows-exe:
11+
name: Build Windows EXE
12+
runs-on: windows-latest
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
- name: Set up Ruby
18+
uses: ruby/setup-ruby@v1
19+
with:
20+
ruby-version: 3.4.7
21+
bundler-cache: true
22+
- name: Install dependencies
23+
run: gem install ocran
24+
- name: Build Windows EXE
25+
run: ocran --all-gems --icon assets/tahweel.ico --output tahweel.exe bin/tahweel-ui
26+
- name: LS
27+
run: ls -la

.github/workflows/main.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ jobs:
2222
steps:
2323
- name: Checkout code
2424
uses: actions/checkout@v4
25-
with:
26-
persist-credentials: false
2725
- name: Set up Ruby
2826
uses: ruby/setup-ruby@v1
2927
with:

0 commit comments

Comments
 (0)