-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (36 loc) · 1.18 KB
/
WinInstaller.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
42
name: Windows Installers Creation and Publication
on:
push:
branches:
- main
tags:
- 'v*.*.*'
jobs:
create-windows-installers:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Build Windows Installers
run: .\build.bat
shell: cmd
- name: Upload installers as artifact
uses: actions/upload-artifact@v4
with:
name: fzf-win installers
path: build/**/*.msi
- name: Publish as Release
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v1
with:
# NOTE why does github token not work?
token: ${{ secrets.ACTIONS_TOKEN }}
tag_name: 'v1.0.0'
name: 'fzf-win v1.0.0'
files: build/**/*.msi
body: |
This is a pre-release of fzf-win
It may contain bugs and is not recommended for production use.
To report bugs, please report them [here](https://github.com/joacortez/fzf-win/issues/new) or send an email to [[email protected]](mailto:[email protected])
draft: false
prerelease: true