[Rt-commit] rt branch, 4.4/github-actions-testing2, updated. rt-4.4.4-461-g6b2c48073e
Jim Brandt
jbrandt at bestpractical.com
Tue May 25 10:00:28 EDT 2021
The branch, 4.4/github-actions-testing2 has been updated
via 6b2c48073e2c97fbcb6a6ffe729bdbc3a06df060 (commit)
from 5b35a5ef3cad796b52a57f64232e54884bd988c1 (commit)
Summary of changes:
.github/workflows/github-action.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit 6b2c48073e2c97fbcb6a6ffe729bdbc3a06df060
Author: Jim Brandt <jbrandt at bestpractical.com>
Date: Tue May 25 09:59:47 2021 -0400
Push values to GITHUB_ENV to persist for next step
diff --git a/.github/workflows/github-action.yml b/.github/workflows/github-action.yml
index 8ece76664a..21d515440a 100644
--- a/.github/workflows/github-action.yml
+++ b/.github/workflows/github-action.yml
@@ -10,8 +10,8 @@ jobs:
- name: Set up for tests
shell: bash
run: |
- export RT_BRANCH_NAME=${GITHUB_REF#refs/heads/}
- export RT_START_TIME=$SECONDS
+ echo "RT_BRANCH_NAME=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
+ echo "RT_START_TIME=$SECONDS" >> $GITHUB_ENV
- name: Check out RT
uses: actions/checkout at v2
- name: Build RT
@@ -28,7 +28,7 @@ jobs:
run: docker exec -e RT_TEST_PARALLEL=1 rt bash -c "cd /rt && prove -lj6 t/*"
- name: Get run time
shell: bash
- run: export RT_TEST_TIME=$(( SECONDS - $RT_START_TIME ))
+ run: echo "RT_TEST_TIME=$(( SECONDS - $RT_START_TIME ))" >> $GITHUB_ENV
- name: Post results to Slack
if: always()
uses: edge/simple-slack-notify at v1.1.1
-----------------------------------------------------------------------
More information about the rt-commit
mailing list