From: Han Gao Date: Sat, 27 Jan 2024 11:11:02 +0000 (+0000) Subject: Add tag publish firmware X-Git-Tag: accepted/tizen/unified/x/20240510.061411~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f14addebf43a1e4138b6b9ef68ea1700a97313e5;p=platform%2Fkernel%2Fu-boot-thead.git Add tag publish firmware Signed-off-by: Han Gao --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9ba95cfa..16749283 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,6 +2,10 @@ name: thead-u-boot-build on: push: + tags: + - '*' + branches: + - '*' pull_request: workflow_dispatch: schedule: @@ -124,3 +128,10 @@ jobs: name: thead-u-uboot-${{ matrix.name }} path: output/*.bin retention-days: 30 + + - name: 'Create release by tag' + uses: softprops/action-gh-release@v1 + if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.name == 'thead-gcc' }} + with: + files: output/*.bin + token: ${{ secrets.GITHUB_TOKEN }}