Skip to content

chore(ci): don't package builds #29

chore(ci): don't package builds

chore(ci): don't package builds #29

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
permissions:
contents: write
env:
NODE_OPTIONS: "--max-old-space-size=4096"
jobs:
build:
strategy:
matrix:
build:
[
{ name: Fapesnap, platform: linux/amd64, os: ubuntu-latest },
{ name: Fapesnap, platform: windows/amd64, os: windows-latest },
{ name: Fapesnap, platform: darwin/universal, os: macos-latest },
]
runs-on: ${{ matrix.build.os }}
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Build
uses: dAppServer/wails-build-action@main
with:
build-name: ${{ matrix.build.name }}
build-platform: ${{ matrix.build.platform }}
package: false
go-version: 1.25
node-version: 24
release:
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Generate Changelog
id: github_release
uses: mikepenz/release-changelog-builder@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
mode: HYBRID
configurationJson: |
{
"commit_template": "- #{{MERGE_SHA}} #{{TITLE}}",
"categories": [
{
"title": "## ✨ Features",
"labels": ["feat", "feature"]
},
{
"title": "## 🔧 Fixes",
"labels": ["fix", "bug"]
},
{
"title": "## 📦 Other",
"labels": []
}
],
"label_extractor": [
{
"pattern": "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\\([\\w\\-\\.]+\\))?(!)?: ([\\w ])+([\\s\\S]*)",
"on_property": "title",
"target": "$1"
}
]
}
- name: Update release (Update the release created by wails-build-action)
uses: softprops/action-gh-release@v2.5.0
with:
body: ${{steps.github_release.outputs.changelog}}