File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 schedule :
55 # * is a special character in YAML so you have to quote this string
66 - cron : ' 0 0 * * *'
7+ push :
8+ branches :
9+ - main
710
811jobs :
912 create-release :
@@ -43,24 +46,31 @@ jobs:
4346 echo ::set-env name=GHA_REPO_ALIVE::true
4447 fi
4548 shell : bash
49+ env :
50+ ACTIONS_ALLOW_UNSECURE_COMMANDS : ' true'
4651
4752 - name : Get current time
4853 uses : 1466587594/get-current-time@v2
4954 id : current_time_dashes
5055 with :
5156 format : YYYY-MM-DD
57+ env :
58+ ACTIONS_ALLOW_UNSECURE_COMMANDS : ' true'
5259
5360 - name : Get current time with underscores
5461 uses : 1466587594/get-current-time@v2
5562 id : current_time_underscores
5663 with :
5764 format : YYYY_MM_DD
65+ env :
66+ ACTIONS_ALLOW_UNSECURE_COMMANDS : ' true'
5867
5968 - name : Create release
6069 if : env.GHA_REPO_ALIVE == 'true'
6170 id : create_release
6271 uses : actions/create-release@v1
6372 env :
73+ ACTIONS_ALLOW_UNSECURE_COMMANDS : ' true'
6474 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6575 with :
6676 tag_name : nightly-${{ steps.current_time_dashes.outputs.formattedTime }}
You can’t perform that action at this time.
0 commit comments