-
-
Notifications
You must be signed in to change notification settings - Fork 100
56 lines (48 loc) · 1.21 KB
/
release.yml
File metadata and controls
56 lines (48 loc) · 1.21 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: boss-release
on:
push:
branches:
- main
tags:
- v*
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up tooling
uses: jdx/mise-action@v4
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v7
with:
distribution: goreleaser
version: "~> v2"
args: release --clean --auto-snapshot
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v7
with:
path: dist/boss_windows_amd64_v1/boss.exe
if-no-files-found: warn
build-setup:
runs-on: windows-latest
needs: goreleaser
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: actions/download-artifact@v8
- name: Compile .ISS to .EXE Installer
uses: Minionguyjpro/Inno-Setup-Action@v1.2.7
env:
VERSION: ${{ github.ref }}
BIN_DIR: dist/boss_windows_amd64_v1/boss.exe
with:
path: ./assets/installer/boss.iss
options: /O+