mirror of
https://github.com/free-dmo/free-dmo-stm32
synced 2024-08-30 18:12:20 +00:00
auto create release on tag push (tags needs to start with "v")
This commit is contained in:
parent
06af5858eb
commit
965e44ab2e
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -2,9 +2,8 @@ name: 'build'
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '*'
|
||||
- 'feature/**'
|
||||
tags:
|
||||
- 'v[0-9]+.[0-9]+.[0-9]+'
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
@ -29,7 +28,6 @@ jobs:
|
||||
run: bash ./.github/auto_build.sh
|
||||
|
||||
- name: 'release assets'
|
||||
if: startsWith( github.ref, 'refs/tags/releases/')
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
Loading…
Reference in New Issue
Block a user