Skip to content

Commit

Permalink
Revert "re-release [email protected] binaries"
Browse files Browse the repository at this point in the history
This reverts commit 2907d6f.
  • Loading branch information
enisdenjo committed Oct 28, 2024
1 parent 2907d6f commit dd10642
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ jobs:
```
bin:
name: Binary built on ${{ matrix.os }}
needs: [stable, snapshot]
if: always() && (
contains(needs.stable.outputs.publishedPackages, '@graphql-hive/gateway') ||
contains(needs.snapshot.outputs.publishedPackages, '@graphql-hive/gateway')
)
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand All @@ -127,7 +132,7 @@ jobs:
with:
result-encoding: string
script: |
const publishedPackages = [{"name":"@graphql-hive/gateway","version":"1.4.1"},{"name":"@graphql-hive/gateway-runtime","version":"1.0.0"}];
const publishedPackages = ${{ needs.stable.outputs.publishedPackages || needs.snapshot.outputs.publishedPackages }};
const gateway = publishedPackages.find((p) => p.name === '@graphql-hive/gateway');
if (!gateway) {
return core.setFailed('@graphql-hive/gateway was not published!');
Expand Down

0 comments on commit dd10642

Please sign in to comment.