diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 441c47c7..6aa156d8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,17 +18,17 @@ jobs: - name: Build Solution shell: pwsh - run: .\BUILD.ps1 + run: .\PUBLISH.ps1 - name: Package if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }} shell: pwsh run: | New-Item -ItemType Directory -Path C:\builtfiles -Force > $null - 7z a -mx9 C:\builtfiles\Netch.7z .\Netch\bin\x64\Release\ - 7z rn C:\builtfiles\Netch.7z Release Netch + 7z a -mx9 C:\builtfiles\Netch.7z .\Netch\bin\Publish\ + 7z rn C:\builtfiles\Netch.7z Publish Netch echo "Netch_SHA256=$(.\GetSHA256.ps1 C:\builtfiles\Netch.7z)" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - echo "Netch_EXE_SHA256=$(.\GetSHA256.ps1 Netch\bin\x64\Release\Netch.exe)" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "Netch_EXE_SHA256=$(.\GetSHA256.ps1 Netch\bin\Publish\Netch.exe)" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - name: Release uses: softprops/action-gh-release@v1