File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 28
28
- name : CircuitPython version
29
29
run : |
30
30
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)
32
32
- name : Set up Python 3.8
33
33
uses : actions/setup-python@v1
34
34
with :
@@ -132,7 +132,7 @@ jobs:
132
132
- name : Install dependencies
133
133
run : |
134
134
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
136
136
- name : Versions
137
137
run : |
138
138
gcc --version
@@ -146,7 +146,7 @@ jobs:
146
146
- name : CircuitPython version
147
147
run : |
148
148
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)
150
150
- name : Build mpy-cross
151
151
run : make -C mpy-cross -j2
152
152
- uses : actions/upload-artifact@v2
Original file line number Diff line number Diff line change 16
16
- uses : actions/checkout@v1
17
17
- uses : actions/setup-python@v1
18
18
- 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())')"
20
20
- uses : actions/cache@v1
21
21
with :
22
22
path : ~/.cache/pre-commit
You can’t perform that action at this time.
0 commit comments