Skip to content

Commit

Permalink
add release to pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
nonik0 committed Feb 21, 2024
1 parent 1694fb1 commit d08dc8a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,22 @@ jobs:
name: CardputerLoRaChat
path: LoRaChat.bin
if-no-files-found: error

release:
runs-on: ubuntu-latest
environment: github_release
needs: [build]
if: github.ref_type == 'tag'

steps:
- uses: actions/download-artifact@v4
with:
merge-multiple: true

- name: Release ${{ github.ref_name }}
uses: softprops/action-gh-release@v1
with:
name: ${{ github.ref_name }}
tag_name: ${{ github.ref_name }}
generate_release_notes: true
files: LoRaChat.bin

0 comments on commit d08dc8a

Please sign in to comment.