Created
June 27, 2018 09:26
-
-
Save chaspy/e180788e37a48416357b4651c99f04b6 to your computer and use it in GitHub Desktop.
CircleCI2.0ではenvironmentで変数展開ができない ref: https://qiita.com/chaspy/items/488e1cc2595a3f76fb00
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 2 | |
jobs: | |
build: | |
docker: | |
- image: circleci/ruby | |
environment: | |
- PATH: /path/to/dir:$PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
steps: | |
- run: | |
command: echo 'export PATH=/path/to/dir:$PATH' >> $BASH_ENV |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment