feat: add rel pkg
Build / build (push) Successful in 2m44s

This commit is contained in:
2026-03-20 22:37:37 -03:00
parent f1e735038b
commit 95e0447190
+16
View File
@@ -3,6 +3,7 @@ name: Build
on: on:
push: push:
branches: [ "main", "master" ] branches: [ "main", "master" ]
tags: [ "v*" ]
pull_request: pull_request:
branches: [ "main", "master" ] branches: [ "main", "master" ]
workflow_dispatch: workflow_dispatch:
@@ -53,3 +54,18 @@ jobs:
- name: Build Unlocker - name: Build Unlocker
run: cmake --build build --target dbd-unlocker run: cmake --build build --target dbd-unlocker
- name: Package Release
if: startsWith(github.ref, 'refs/tags/')
run: |
EXE=$(find build -name "*.exe" | head -1)
mkdir -p release
cp "$EXE" release/
cp res/*.json release/
cd release && zip -j ../unlocker.zip *
- name: Create Gitea Release
if: startsWith(github.ref, 'refs/tags/')
uses: akkuman/gitea-release-action@v1
with:
files: unlocker.zip