diff --git a/.github/workflows/cd-syft.yml b/.github/workflows/cd-syft.yml index 0eb72df049b..d96efba0c4a 100644 --- a/.github/workflows/cd-syft.yml +++ b/.github/workflows/cd-syft.yml @@ -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: | @@ -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 @@ -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 }}