diff options
author | Han Gao <gaohan@iscas.ac.cn> | 2024-01-27 11:11:02 +0000 |
---|---|---|
committer | Han Gao <gaohan@iscas.ac.cn> | 2024-01-27 11:11:02 +0000 |
commit | f14addebf43a1e4138b6b9ef68ea1700a97313e5 (patch) | |
tree | 92b8c83ca1084ec92e0865064c7cd7acdd6f610e | |
parent | 9d7cb336545157eb24717dd133d61ab3af011db4 (diff) |
Add tag publish firmware20240127
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
-rw-r--r-- | .github/workflows/build.yml | 11 |
1 files changed, 11 insertions, 0 deletions
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 }} |