Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump libwebp from dfdcb7f to a3ba6f1 #4

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
6 changes: 3 additions & 3 deletions .github/workflows/preview-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run_id: ${{ github.event.workflow_run.id }},
});

// { [name]: [conclusion] }, e.g. { 'build preview': 'success' }
// { [name]: [conclusion] }, e.g. { 'build site': 'success' }
const jobs = (response.data?.jobs ?? []).reduce((acc, job) => {
if(job?.status === 'completed' && 'name' in job && 'conclusion' in job) {
acc[job.name] = job.conclusion;
Expand All @@ -43,8 +43,8 @@ jobs:

// the name here must be the same as `jobs.xxx.{name}` in preview-build.yml
// set output
core.setOutput('build-success', jobs['build preview'] === 'success');
core.setOutput('build-failure', jobs['build preview'] === 'failure');
core.setOutput('build-success', jobs['build site'] === 'success');
core.setOutput('build-failure', jobs['build site'] === 'failure');
return jobs;

deploy-preview:
Expand Down
2 changes: 1 addition & 1 deletion libwebp
4 changes: 2 additions & 2 deletions patches/libwebp.diff
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a1ea7450c..a9f07c887 100644
index d7e8963f2..c3412457f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -565,6 +565,22 @@ if(WEBP_BUILD_GIF2WEBP)
Expand All @@ -24,4 +24,4 @@ index a1ea7450c..a9f07c887 100644
+ -s EXPORTED_RUNTIME_METHODS='[\"ccall\",\"cwrap\",\"FS\",\"stringToUTF8\",\"lengthBytesUTF8\",\"setValue\"]'")
target_link_libraries(gif2webp exampleutil imageioutil webp libwebpmux
${WEBP_DEP_GIF_LIBRARIES})
target_include_directories(gif2webp PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/src)
target_include_directories(gif2webp PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/src