Skip to content

Commit

Permalink
Dedicated release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
netmindz committed Nov 27, 2024
1 parent feab272 commit 95718ab
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,22 +64,6 @@ jobs:
path: |
build_output/release/*.bin
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:
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 95718ab

Please sign in to comment.