Skip to content

Commit

Permalink
chore: add plain text
Browse files Browse the repository at this point in the history
  • Loading branch information
guitarrapc committed Apr 17, 2024
1 parent d4fda77 commit ae555af
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/load-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,18 @@ on:
outputs:
nuget-key:
description: "NuGet Key"
value: ${{ jobs.create-relase.outputs.nuget-key }}
value: ${{ jobs.load-secret.outputs.nuget-key }}
foo:
description: "Plain Text"
value: ${{ jobs.load-secret.outputs.foo }}

jobs:
load-secret:
runs-on: ubuntu-latest
timeout-minutes: 10
outputs:
nuget-key: ${{ inputs.nuget && steps.nuget.outputs.NUGET_KEY || '' }}
foo: foo
steps:
- name: Load NuGet secrets
uses: 1password/load-secrets-action/configure@v2
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,7 @@ jobs:
needs: [workflow]
runs-on: ubuntu-latest
steps:
- name: echo
- name: echo nuget-key
run: echo "nuget-key=${{ needs.workflow.outputs.nuget-key }}"
- name: echo foo
run: echo "foo=${{ needs.workflow.outputs.foo }}"

0 comments on commit ae555af

Please sign in to comment.