From 8ae28e57355a3f3432e1c6971869892f055cd58b Mon Sep 17 00:00:00 2001 From: liamhuber Date: Fri, 24 May 2024 13:32:41 -0700 Subject: [PATCH] Add access attempt from a dependent job --- .github/workflows/experiment-with-ci-syntax.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/experiment-with-ci-syntax.yml b/.github/workflows/experiment-with-ci-syntax.yml index 697d6cd16..003bdf37f 100644 --- a/.github/workflows/experiment-with-ci-syntax.yml +++ b/.github/workflows/experiment-with-ci-syntax.yml @@ -28,4 +28,13 @@ jobs: - name: Echo latest release tag run: | - echo "Latest release tag: ${{ steps.get-release.outputs.latest_release_tag }}" + echo "Latest release tag: ${{ steps.get-release.outputs.result }}" + + access-latest-release: + needs: get-latest-release + runs-on: ubuntu-latest + steps: + - name: Echo latest release tag from previous job + run: + echo "Latest release tag from previous job: ${{ needs.get-latest-release.outputs.latest_release_tag }}" +