Skip to content

Commit

Permalink
Update release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Kruhlmann committed Jul 15, 2024
1 parent 0827343 commit 760b77a
Showing 1 changed file with 30 additions and 28 deletions.
58 changes: 30 additions & 28 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,36 @@
name: release

on:
tags:
- '*.*.*'
push:
tags:
- '*.*.*'

release:
needs: build
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Checkout code
uses: actions/checkout@v2
jobs:
release:
needs: build
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Download build artifacts
uses: actions/download-artifact@v2
with:
name: reboot-artifacts
path: ./artifacts
- name: Download build artifacts
uses: actions/download-artifact@v2
with:
name: reboot-artifacts
path: ./artifacts

- name: Create a Release
uses: elgohr/Github-Release-Action@v5
with:
body_path: CHANGELOG.md
files: |
Release.txt
LICENSE
prerelease: false
draft: false
fail_on_unmatched_files: true
generate_release_notes: true
make_latest: true
permissions:
contents: write
- name: Create a Release
uses: elgohr/Github-Release-Action@v5
with:
body_path: CHANGELOG.md
files: |
Release.txt
LICENSE
prerelease: false
draft: false
fail_on_unmatched_files: true
generate_release_notes: true
make_latest: true
permissions:
contents: write

0 comments on commit 760b77a

Please sign in to comment.