Skip to content

Commit

Permalink
Merge pull request #8494 from OpenMined/rasswanth/fix-syft-version-cd
Browse files Browse the repository at this point in the history
added syft version to github.event.inputs for dependent workflow
  • Loading branch information
rasswanth-s authored Feb 15, 2024
2 parents 726814f + 43cb69c commit 5dfad0b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/cd-syft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,10 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write # For tag and release notes.

outputs:
syft_version: ${{ steps.release_checks.outputs.syft_version }}

steps:
- name: Permission to home directory
run: |
Expand Down Expand Up @@ -354,6 +358,7 @@ jobs:
run: |
echo "github_release_version=$(python packages/grid/VERSION | sed 's/-beta./b/')" >> $GITHUB_OUTPUT
echo "future_stable_version=$(python packages/grid/VERSION | sed 's/-beta.*//')" >> $GITHUB_OUTPUT
echo "syft_version=$(python packages/grid/VERSION)" >> $GITHUB_OUTPUT
if [[ ${{ needs.merge-docker-images.outputs.release_tag}} == "beta" ]]; then
echo "is_beta_release=true" >> $GITHUB_OUTPUT
else
Expand Down Expand Up @@ -520,3 +525,5 @@ jobs:
needs: [deploy-syft]
if: always() && github.repository == 'OpenMined/PySyft' && needs.deploy-syft.result == 'success' # don't run on forks
uses: OpenMined/PySyft/.github/workflows/cd-post-release-tests.yml@dev
with:
syft_version: ${{ needs.deploy-syft.outputs.syft_version }}

0 comments on commit 5dfad0b

Please sign in to comment.