mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Merge pull request #1525 from openmv/update_workflows2
github: Update workflows.
This commit is contained in:
commit
b80d84d8a6
5
.github/workflows/firmware.yml
vendored
5
.github/workflows/firmware.yml
vendored
@ -55,7 +55,7 @@ jobs:
|
||||
release:
|
||||
needs: build
|
||||
runs-on: ubuntu-20.04
|
||||
if: github.event_name == 'create'
|
||||
if: github.event_name == 'create' && startsWith(github.ref, 'refs/tags/v')
|
||||
steps:
|
||||
- name: '⏳ Checkout repository'
|
||||
uses: actions/checkout@v2
|
||||
@ -108,6 +108,7 @@ jobs:
|
||||
uses: EndBug/latest-tag@latest
|
||||
with:
|
||||
tag-name: development
|
||||
description: Development Release.
|
||||
|
||||
- name: '🔥 Create development release'
|
||||
uses: softprops/action-gh-release@v1
|
||||
@ -115,7 +116,7 @@ jobs:
|
||||
draft: false
|
||||
name: Development Release
|
||||
tag_name: development
|
||||
body: 'WARNING: This a development release and it may be unstable.'
|
||||
body: '> **⚠️ WARNING: This a development release and it may be unstable⚠️**'
|
||||
files: firmware/firmware_*.zip
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user