Skip to content

Instantly share code, notes, and snippets.

@chaspy
Created June 27, 2018 09:26
Show Gist options
  • Save chaspy/e180788e37a48416357b4651c99f04b6 to your computer and use it in GitHub Desktop.
Save chaspy/e180788e37a48416357b4651c99f04b6 to your computer and use it in GitHub Desktop.
CircleCI2.0ではenvironmentで変数展開ができない ref: https://qiita.com/chaspy/items/488e1cc2595a3f76fb00
version: 2
jobs:
build:
docker:
- image: circleci/ruby
environment:
- PATH: /path/to/dir:$PATH
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