-
Notifications
You must be signed in to change notification settings - Fork 9
38 lines (35 loc) · 895 Bytes
/
Copy pathbuild-installer.yml
File metadata and controls
38 lines (35 loc) · 895 Bytes
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
---
name: Build Installer
"on":
workflow_dispatch:
push:
tags:
- 'v*'
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Install NSIS
run: choco install nsis -y
- name: Build installer
shell: pwsh
run: |
& "C:\\Program Files (x86)\\NSIS\\makensis.exe" WindowsClearCache.nsi
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: WindowsClearCacheInstaller
path: WindowsClearCacheInstaller.exe
release:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
name: WindowsClearCacheInstaller
- uses: softprops/action-gh-release@v2
with:
files: WindowsClearCacheInstaller.exe
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}