Skip to content

Commit

Permalink
add Create Release
Browse files Browse the repository at this point in the history
  • Loading branch information
hredan committed Jul 11, 2024
1 parent e73396d commit df2e048
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,13 @@ on:
name: Create Release and upload assets

jobs:
test:
uses: hredan/ESPEASYFLASHER_2.0/.github/workflows/test.yml@main
build-targets:
needs: test
uses: hredan/ESPEASYFLASHER_2.0/.github/workflows/build_targets.yml@main
with:
target: 'all'
release:
name: Create Release and upload assets
needs: [build-targets]
Expand All @@ -37,6 +42,13 @@ jobs:
merge-multiple: true
- name: Check artifacts
run: |
ls -la
cd ./release
ls -la
- name: Upload Release Assets
id: upload-release-assets
uses: ncipollo/release-action@v1
with:
artifacts: ./release/*
draft: ${{ env.PRERELEASE }}
prerelease: ${{ env.PRERELEASE }}
generateReleaseNotes: true

0 comments on commit df2e048

Please sign in to comment.