Skip to content

Commit

Permalink
Update variables-workflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lefonge authored Dec 14, 2024
1 parent 0260891 commit 3809737
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/variables-workflow.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
name: Variables demo
run-name: Testing env & configuration variable & Secret value
run-name: Testing env & configuration variable

on: [push]

env:
owner_name: Marco
my_repo_var_value: ${{vars.MY_REPO_VAR}}
my_secret_var_value: ${{secrets.MY_SECRET}}

jobs:
use_env_var:
runs-on: ubuntu-latest
steps:
- run: echo "Job use_env_var is executing as part of new workflow - from $owner_name - with repo var value as $my_repo_var_value - and this is @my_secret_var_value"
- run: echo "Job use_env_var is executing as part of new workflow - from $owner_name - with repo var value as $my_repo_var_value"

0 comments on commit 3809737

Please sign in to comment.