File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 13
13
create-nightly-tag :
14
14
runs-on : ubuntu-20.04
15
15
outputs :
16
- tag-name : ${{ steps.generate-tag.outputs.name }}
16
+ tag-name : ${{ steps.generate-tag.outputs.TAG_NAME }}
17
17
steps :
18
18
- uses : actions/checkout@v2
19
19
- name : git config
23
23
- id : generate-tag
24
24
run : |
25
25
MANUAL_TAG="${{ inputs.tag-name }}"
26
- echo "::set-output name=name:: ${MANUAL_TAG:-$(date +'%Y-%m-%d')-a}"
27
- - run : git tag "${{ steps.generate-tag.outputs.name }}"
28
- - run : git push origin "${{ steps.generate-tag.outputs.name }}"
26
+ echo "TAG_NAME= ${MANUAL_TAG:-$(date +'%Y-%m-%d')-a}" >> $GITHUB_OUTPUT
27
+ - run : git tag "${{ steps.generate-tag.outputs.TAG_NAME }}"
28
+ - run : git push origin "${{ steps.generate-tag.outputs.TAG_NAME }}"
29
29
build-and-publish :
30
30
needs : [create-nightly-tag]
31
31
uses : ./.github/workflows/build.yml
You can’t perform that action at this time.
0 commit comments