Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,47 @@ jobs:
tag_name: v${{ steps.version.outputs.version }}
generate_release_notes: true
token: ${{ secrets.GITHUB_TOKEN }}

build-standalone:
runs-on: windows-latest
needs: publish
permissions:
contents: write

steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0.x'

- name: Restore dependencies
run: dotnet restore

- name: Build standalone EXE
run: dotnet publish FurLab.CLI/FurLab.CLI.csproj -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true -p:PublishTrimmed=false -o dist

- name: Get EXE path and hash
id: exe
run: |
$exePath = Get-ChildItem dist/FurLab.CLI.exe | Select-Object -First 1
$hash = (Get-FileHash $exePath.FullName -Algorithm SHA256).Hash
echo "path=$($exePath.FullName)" >> $env:GITHUB_OUTPUT
echo "hash=$hash" >> $env:GITHUB_OUTPUT
echo "SHA256: $hash"
shell: pwsh

- name: Upload to Release
uses: softprops/action-gh-release@v2
with:
tag_name: v${{ needs.publish.outputs.version }}
files: ${{ steps.exe.outputs.path }}
body: |
## Standalone Windows x64 Build
SHA256: `${{ steps.exe.outputs.hash }}`
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
10 changes: 10 additions & 0 deletions openspec/winget-manifest/liphvf.FurLab.installer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
PackageIdentifier: liphvf.FurLab
PackageVersion: 1.1.30
Installers:
- Architecture: x64
InstallerType: exe
InstallerUrl: https://github.com/liphvf/FurLab/releases/download/v1.1.30/FurLab.exe
InstallerSha256: PLACEHOLDER_SHA256
InstallerSwitches:
Silent: /S
SilentWithProgress: /S
12 changes: 12 additions & 0 deletions openspec/winget-manifest/liphvf.FurLab.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
PackageIdentifier: liphvf.FurLab
PackageVersion: 1.1.30
PackageName: FurLab
Publisher: liphvf
License: MIT
ShortDescription: A powerful .NET CLI tool to automate common development tasks.
Moniker: fur
Tags:
- cli
- dotnet
- automation
- development-tools
Loading