Skip to content

Merge pull request #213 from HashLoad/dependabot/github_actions/actio… #28

Merge pull request #213 from HashLoad/dependabot/github_actions/actio…

Merge pull request #213 from HashLoad/dependabot/github_actions/actio… #28

Workflow file for this run

name: boss-release
on:
push:
branches:
- main
tags:
- v*
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Set up tooling
uses: jdx/mise-action@v3
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: "~> v2"
args: release --clean --auto-snapshot
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v5
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@v5
with:
fetch-depth: 0
- uses: actions/download-artifact@v7
- name: Compile .ISS to .EXE Installer
uses: Minionguyjpro/[email protected]
env:
VERSION: ${{ github.ref }}
BIN_DIR: dist/boss_windows_amd64_v1/boss.exe
with:
path: ./assets/installer/boss.iss
options: /O+