Use environment file to set environment variables.

This commit is contained in:
Crozet Sébastien
2020-11-19 11:18:17 +01:00
parent acc3fed119
commit 889a7e0e2f

View File

@@ -24,8 +24,8 @@ jobs:
- name: Find commit SHA - name: Find commit SHA
if: github.ref == 'refs/heads/master' if: github.ref == 'refs/heads/master'
run: | run: |
echo "::set-env name=BENCHBOT_TARGET_COMMIT::$BENCHBOT_SHA" echo "BENCHBOT_TARGET_COMMIT=$BENCHBOT_SHA" >> $GITHUB_ENV
echo "::set-env name=BENCHBOT_OTHER_BACKENDS::true" echo "BENCHBOT_OTHER_BACKENDS=true" >> $GITHUB_ENV
- name: Send 3D bench message - name: Send 3D bench message
shell: bash shell: bash
run: curl -u $BENCHBOT_AMQP_USER:$BENCHBOT_AMQP_PASS run: curl -u $BENCHBOT_AMQP_USER:$BENCHBOT_AMQP_PASS