Skip to content

Commit

Permalink
fix not looking at result
Browse files Browse the repository at this point in the history
  • Loading branch information
CNimmo16 committed Jan 5, 2025
1 parent c59b70f commit d502048
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,15 @@ jobs:
const publishedPackages = JSON.parse(process.env.PUBLISHED_PACKAGES);
const clientPackage = publishedPackages.find((pkg) => pkg.name === '@quory/client');
if (!clientPackage) {
return {
publishedClientVersion: null
};
return null;
}
console.info(`Found published client version: ${clientPackage.version}`);
return {
publishedClientVersion: clientPackage.version
};
return clientPackage.version;
electron:
needs: determine-client-version

if: needs.determine-client-version.outputs.publishedClientVersion
if: needs.determine-client-version.outputs.result

name: Build and distribute Electron packages for Mac, Windows and Linux

Expand Down

0 comments on commit d502048

Please sign in to comment.