Skip to content

Commit a928c0b

Browse files
authored
actions/protobuf: fix set env PROTOBUFS_CHANGED [ci skip]
old way of setting envs has been deprecated due to a security vulnerability: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
1 parent 3b47622 commit a928c0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/protobuf.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
cp $GameTracking_dir/Protobufs/{cstrike15_*.proto,engine_gcmessages.proto,netmessages.proto,steammessages.proto} pkg/demoinfocs/msg/proto
1717
1818
if [[ ! `git status --porcelain` ]]; then
19-
echo '::set-env name=PROTOBUFS_CHANGED::false'
19+
echo "PROTOBUFS_CHANGED=false" >> $GITHUB_ENV
2020
exit 0
2121
else
22-
echo '::set-env name=PROTOBUFS_CHANGED::true'
22+
echo "PROTOBUFS_CHANGED=true" >> $GITHUB_ENV
2323
fi
2424
2525
- name: Install Go

0 commit comments

Comments
 (0)