Skip to content

Commit

Permalink
Update my_ipq60xx.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
beck023 authored Oct 29, 2024
1 parent bda0e0a commit 3994d51
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/my_ipq60xx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,16 @@ jobs:
name: ${{ env.SOURCE_REPO }}-firmware-${{ env.DEVICE_TARGET }}-${{ env.DEVICE_SUBTARGET }}-${{ env.FILE_DATE }}
path: ${{ env.FIRMWARE_PATH }}

- name: Set current time
run: echo "CURRENT_TIME=$(date +'%Y%m%d-%H%M%S')" >> $GITHUB_ENV

- name: Upload Firmware To Release(发布固件)
if: steps.compile.outputs.status == 'success' && env.FIRMWARE_RELEASE == 'true'
uses: ncipollo/release-action@v1
with:
name: R${{ env.DATE }} for ${{ env.FIRMWARE_TAG }}
allowUpdates: true
tag: ${{ env.FIRMWARE_TAG }}-$(date +'%Y%m%d-%H%M%S')
tag: ${{ env.FIRMWARE_TAG }}-${{ env.CURRENT_TIME }}
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: ${{ env.FIRMWARE_PATH }}/*
body: |
Expand Down

0 comments on commit 3994d51

Please sign in to comment.