Free, open-source Windows optimization tool for performance, privacy, and simplicity.
C# csharpdebloatdotnetgamingopen-sourceoptimizationoptimizeroptimizerduckperformanceprivacytweakertweakswindowswinui
fix: update release workflow
fatDuckeb35b5709a74
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 95fc405..4e41027 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -2,7 +2,7 @@ name: Releaseon:release:- types: [created]+ types: [published]env:FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true@@ -21,10 +21,6 @@ jobs:uses: actions/setup-dotnet@v5with:dotnet-version: 10.0.x- cache: true- cache-dependency-path: |- optimizerDuck/optimizerDuck.csproj- optimizerDuck.Test/optimizerDuck.Test.csproj- name: Restorerun: dotnet restore optimizerDuck.slnx@@ -33,15 +29,17 @@ jobs:run: dotnet build optimizerDuck.slnx --configuration Release --no-restore- name: Test- run: dotnet test optimizerDuck.Test/optimizerDuck.Test.csproj --configuration Release --no-build+ run: dotnet test optimizerDuck.Test/optimizerDuck.Test.csproj --configuration Release --no-restore- name: Publish Single- run: dotnet publish optimizerDuck/optimizerDuck.csproj -c Release --nologo /p:PublishProfile=Single+ run: |+ dotnet publish optimizerDuck/optimizerDuck.csproj --nologo /p:PublishProfile=Single+ shell: pwsh- name: Get version from tagid: get_versionrun: |- $tag = "${{ github.ref_name }}"+ $tag = "${{ github.event.release.tag_name }}"$version = $tag -replace '^v', ''echo "version=$version" >> $env:GITHUB_OUTPUTshell: pwsh