@@ -36,15 +36,15 @@ jobs:
3636
3737 # Map a step output to a job output
3838 outputs :
39- build_date : ${{ steps.gen_build_date .outputs.build_date }}
39+ build_string : ${{ steps.gen_build_string .outputs.build_string }}
4040 release_tag : ${{ steps.gen_release_tag.outputs.release_tag }}
4141 steps :
42- - id : gen_build_date
43- run : echo "::set-output name=build_date ::$(date +%Y.%m.%d)"
42+ - id : gen_build_string
43+ run : echo "::set-output name=build_string ::$(date +%Y.%m.%d)"
4444 - id : gen_release_tag
4545 run : echo "::set-output name=release_tag::$(date +%Y%m%d)"
4646
47- toolchain :
47+ build :
4848 needs : init
4949 strategy :
5050 matrix :
6666 - name : Set GITHUB_ENV
6767 run : |
6868 echo "TZ=Europe/Paris" >>$GITHUB_ENV
69- echo "BUILD_DATE =${{ needs.init.outputs.build_date }}" >> $GITHUB_ENV
69+ echo "BUILD_STRING =${{ needs.init.outputs.build_string }}" >> $GITHUB_ENV
7070 echo "RELTAG=${{ needs.init.outputs.release_tag }}" >> $GITHUB_ENV
7171 echo "OPENWRT_BRANCH=${{ github.event.inputs.openwrt_branch }}" >> $GITHUB_ENV
7272 echo "NANOPI_MODEL=${{ matrix.nanopi_model }}" >> $GITHUB_ENV
@@ -182,7 +182,7 @@ jobs:
182182# #echo "UPLOAD_FIRMWARE=true" >> $GITHUB_ENV
183183# #echo "UPLOAD_RELEASE=true" >> $GITHUB_ENV
184184# echo "TZ=Europe/Paris" >> $GITHUB_ENV
185- # echo "BUILD_DATE =${{ needs.init.outputs.build_date }}" >> $GITHUB_ENV
185+ # echo "BUILD_STRING =${{ needs.init.outputs.build_string }}" >> $GITHUB_ENV
186186# echo "RELTAG=${{ needs.init.outputs.release_tag }}" >> $GITHUB_ENV
187187# echo "OPENWRT_BRANCH=${{ github.event.inputs.openwrt_branch }}" >> $GITHUB_ENV
188188# echo "NANOPI_MODEL=${{ github.event.inputs.nanopi_model }}" >> $GITHUB_ENV
@@ -252,7 +252,7 @@ jobs:
252252 uses : ncipollo/release-action@v1.9.0
253253 if : ${{ !cancelled() }}
254254 with :
255- name : OpenWrt ${{ env.OPENWRT_BRANCH }} ${{ env.BUILD_DATE }}
255+ name : OpenWrt ${{ env.OPENWRT_BRANCH }} ${{ env.BUILD_STRING }}
256256 allowUpdates : true
257257 tag : OpenWrtAO-${{ env.OPENWRT_BRANCH }}-${{ env.RELTAG }}
258258 commit : main
0 commit comments