Skip to content

Commit

Permalink
test environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
yasuhiroki committed Apr 6, 2024
1 parent 5810e5c commit bc6ef4f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
on: push
name: environemnt variables

env:
NEW_ENV: value

jobs:
build:
name: test
runs-on: ubuntu-latest
steps:
- name: env
run: echo ${{ env }}
- name: custom environment variable
run: echo env.NEW = ${{ env.NEW_ENV }} env[NEW] = ${{ env[NEW_ENV] }} \$NEW_ENV = $NEW_ENV

0 comments on commit bc6ef4f

Please sign in to comment.