File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -47,11 +47,11 @@ jobs:
4747 id : event-args
4848 run : |
4949 set -x
50- REF="${{ github.event.ref } }"
50+ REF="${GITHUB_EVENT_REF }"
5151 TAG=$(echo $REF| sed 's/refs\/tags\///')
5252 DIST_TAG="dist-$TAG"
53- git config user.email "${{ github.event.head_commit.author.email } }"
54- git config user.name "${{ github.event.head_commit.author.name } }"
53+ git config user.email "${GITHUB_EVENT_HEAD_COMMIT_AUTHOR_EMAIL }"
54+ git config user.name "${GITHUB_EVENT_HEAD_COMMIT_AUTHOR_NAME }"
5555 git checkout -b tmp-$DIST_TAG
5656 # remove workflow etc, otherwise we'll need workflow override permissions
5757 rm -rf .github
7171 git tag -a $DIST_TAG -m "dist for $TAG" -f
7272 git push origin $DIST_TAG -f
7373 echo "done pushing to git"
74+ env :
75+ GITHUB_EVENT_REF : ${{ github.event.ref }}
76+ GITHUB_EVENT_HEAD_COMMIT_AUTHOR_EMAIL : ${{ github.event.head_commit.author.email }}
77+ GITHUB_EVENT_HEAD_COMMIT_AUTHOR_NAME : ${{ github.event.head_commit.author.name }}
You can’t perform that action at this time.
0 commit comments