-
Notifications
You must be signed in to change notification settings - Fork 51
41 lines (38 loc) · 1.13 KB
/
release_desktop.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
37
38
39
40
41
name: Release Desktop Edition
on:
workflow_dispatch:
inputs:
tag:
description: 'Tag to release'
required: true
permissions:
contents: write
jobs:
release:
name: Release WEx Desktop Installer
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
ref: ${{ github.event.inputs.tag }}
fetch-depth: 0
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '20'
- name: Install Dependencies
run: yarn --network-timeout 100000
working-directory: ./Src/WitsmlExplorer.Desktop
- name: Build Installer
run: yarn electron:dist
working-directory: ./Src/WitsmlExplorer.Desktop
- name: Release Installer
uses: softprops/action-gh-release@v1
with:
draft: false
generate_release_notes: true
tag_name: ${{ github.event.inputs.tag }}
files: |
./Src/WitsmlExplorer.Desktop/dist/WExDesktop.x64*.exe