From e8c896f4da875cde31e60613bc2170e7c53cc22c Mon Sep 17 00:00:00 2001 From: Chris Ayers Date: Sun, 1 Oct 2023 22:40:32 +0000 Subject: [PATCH] updated secret workflow --- .github/workflows/08-secrets.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/08-secrets.yml b/.github/workflows/08-secrets.yml index 5ca2ce6..02f79d0 100644 --- a/.github/workflows/08-secrets.yml +++ b/.github/workflows/08-secrets.yml @@ -36,4 +36,14 @@ jobs: run: echo "$Greeting, $Name!" env: Name: ${{ secrets.Name }} - \ No newline at end of file + + # Runs a single command using the runners shell + - name: Pass Structured Objects via Context + run: echo "${{ secrets.Structured }}" + + - name: Pass Structured Objects via Environment + run: echo "$Structured" + env: + Structured: ${{ secrets.Structured }} + + \ No newline at end of file