Skip to content

Commit

Permalink
test action set env
Browse files Browse the repository at this point in the history
  • Loading branch information
jgstew committed May 29, 2024
1 parent 69a01b6 commit 72ee324
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test_env_set.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: test_env_set

# only run this job when this job itself is modified
on:
push:
paths:
- ".github/workflows/test_env_set.yaml"
branches:
- "**"

jobs:
test_env_set:
runs-on: [ubuntu-latest]
steps:
- name: set env var
run: echo "EXAMPLESUFFIX=_dev" >> "$GITHUB_ENV"
- name: get env var
run: echo "$EXAMPLESUFFIX"
- name: get env var
run: echo "${{ env.EXAMPLESUFFIX }}"

0 comments on commit 72ee324

Please sign in to comment.