Skip to content

Commit 65eb831

Browse files
committed
fix: simplify yaml
1 parent f277fb4 commit 65eb831

1 file changed

Lines changed: 8 additions & 16 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Release Windows
1+
name: Release Windows Version
22

33
on:
44
push:
@@ -7,34 +7,26 @@ on:
77

88
jobs:
99
release:
10-
strategy:
11-
matrix:
12-
os: [macos-latest, windows-latest]
13-
runs-on: ${{ matrix.os }}
10+
runs-on: windows-latest
1411
permissions:
1512
contents: write
16-
pull-requests: write
17-
outputs:
18-
new_release_version: ${{ steps.semantic.outputs.new_release_version }}
1913
steps:
2014
- name: Checkout
2115
uses: actions/checkout@v4
2216
with:
2317
persist-credentials: false
18+
2419
- name: Setup Node.js
2520
uses: actions/setup-node@v4
2621
with:
2722
node-version: 21
23+
2824
- name: Install dependencies
2925
run: npm install
30-
- name: Build and package
31-
run: |
32-
if [ "${{ matrix.os }}" == "windows-latest" ]; then
33-
npm run dist:win
34-
else
35-
npm run dist
36-
fi
37-
shell: bash
26+
27+
- name: Build and package Windows app
28+
run: npm run dist
29+
3830
- name: Semantic Release
3931
id: semantic
4032
uses: cycjimmy/semantic-release-action@v4

0 commit comments

Comments
 (0)