File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 - name : CircuitPython version
2929 run : |
3030 git describe --dirty --tags
31- echo "::set-env name= CP_VERSION:: $(git describe --dirty --tags)"
31+ echo >>$GITHUB_ENV CP_VERSION= $(git describe --dirty --tags)
3232 - name : Set up Python 3.8
3333 uses : actions/setup-python@v1
3434 with :
@@ -132,7 +132,7 @@ jobs:
132132 - name : Install dependencies
133133 run : |
134134 brew install gettext awscli
135- echo "::set-env name=PATH:: /usr/local/opt/gettext/bin:$PATH"
135+ echo >>$GITHUB_PATH /usr/local/opt/gettext/bin
136136 - name : Versions
137137 run : |
138138 gcc --version
@@ -146,7 +146,7 @@ jobs:
146146 - name : CircuitPython version
147147 run : |
148148 git describe --dirty --tags
149- echo "::set-env name= CP_VERSION:: $(git describe --dirty --tags)"
149+ echo >>$GITHUB_ENV CP_VERSION= $(git describe --dirty --tags)
150150 - name : Build mpy-cross
151151 run : make -C mpy-cross -j2
152152 - uses : actions/upload-artifact@v2
Original file line number Diff line number Diff line change 1616 - uses : actions/checkout@v1
1717 - uses : actions/setup-python@v1
1818 - name : set PY
19- run : echo "::set-env name=PY:: $(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')"
19+ run : echo >>$GITHUB_ENV PY=" $(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')"
2020 - uses : actions/cache@v1
2121 with :
2222 path : ~/.cache/pre-commit
You can’t perform that action at this time.
0 commit comments