Skip to content

chore: add permissions block to Build and Release Binaries workflow#7

Open
s-a wants to merge 5 commits intojonatas:mainfrom
s-a:fix/release-permissions
Open

chore: add permissions block to Build and Release Binaries workflow#7
s-a wants to merge 5 commits intojonatas:mainfrom
s-a:fix/release-permissions

Conversation

@s-a
Copy link

@s-a s-a commented Jul 8, 2025

This pull request adds an explicit permissions block to the Build and Release Binaries GitHub Actions workflow. By granting the GITHUB_TOKEN write access to repository contents and packages, it ensures that the softprops/action-gh-release step can successfully create or update Releases without encountering a 403 Forbidden error.

@s-a s-a force-pushed the fix/release-permissions branch from c1f3c04 to 3ae891b Compare July 11, 2025 06:09
s-a added 2 commits July 11, 2025 08:17
…s OS-specific

Removed unconditional inclusion of Windows DLL from project file.
Ensured only platform-specific native libraries are included via MSBuild conditions
for Windows, Linux, and macOS (x64 + arm64). This prevents build failures on non-Windows runners.
Adds __declspec(dllexport) and __stdcall to all native entry points in wrapper.c,
ensuring pg_query_*_wrapper symbols are available to DllImport under Windows.
Fixes EntryPointNotFoundException during Windows tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant