We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b41aee commit 9a2dcd6Copy full SHA for 9a2dcd6
.github/workflows/main.yml
@@ -48,7 +48,7 @@ jobs:
48
49
- name: Get current date and time
50
id: datetime
51
- run: echo "CURRENT_DATETIME=$(date +'%d/%m/%Y %H:%M')" >> $GITHUB_ENV
+ run: echo "::set-output name=current_datetime::$(date +'%d/%m/%Y %H:%M')"
52
53
- name: Create Release
54
id: create_release
@@ -57,7 +57,7 @@ jobs:
57
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58
with:
59
tag_name: ${{github.run_number}}
60
- release_name: ${{ env.CURRENT_DATETIME }} (${{ github.run_number }})
+ release_name: ${{ steps.datetime.outputs.current_datetime }} (${{ github.run_number }})
61
body: |
62
Automated Release by GitHub Action CI
63
draft: false
0 commit comments