mirror of
https://github.com/wled/WLED.git
synced 2025-04-24 23:07:19 +00:00
Dedicated release workflow
This commit is contained in:
parent
bc79f44a26
commit
c89e4576b4
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@ -64,22 +64,6 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
build_output/release/*.bin
|
build_output/release/*.bin
|
||||||
build_output/release/*_ESP02*.bin.gz
|
build_output/release/*_ESP02*.bin.gz
|
||||||
release:
|
|
||||||
name: Create Release
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: build
|
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
|
||||||
steps:
|
|
||||||
- uses: actions/download-artifact@v4
|
|
||||||
with:
|
|
||||||
merge-multiple: true
|
|
||||||
- name: Create draft release
|
|
||||||
uses: softprops/action-gh-release@v1
|
|
||||||
with:
|
|
||||||
draft: True
|
|
||||||
files: |
|
|
||||||
*.bin
|
|
||||||
*.bin.gz
|
|
||||||
|
|
||||||
|
|
||||||
testCdata:
|
testCdata:
|
||||||
|
28
.github/workflows/release.yml
vendored
Normal file
28
.github/workflows/release.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
name: WLED Release CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
wled_build:
|
||||||
|
uses: ./.github/workflows/build.yml
|
||||||
|
|
||||||
|
release:
|
||||||
|
name: Create Release
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: wled_build
|
||||||
|
steps:
|
||||||
|
- uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
merge-multiple: true
|
||||||
|
- name: Create draft release
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
with:
|
||||||
|
draft: True
|
||||||
|
files: |
|
||||||
|
*.bin
|
||||||
|
*.bin.gz
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user