Skip to content

Commit

Permalink
ci(release): update workflow (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
samikachai authored Dec 17, 2024
1 parent 8715734 commit 2686c17
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
asset_name: lichtblick.asam-osi-converter-${{ env.version }}.foxe
asset_content_type: application/octet-stream

- name: Upload Changelog
- name: Upload Changelog as a release asset
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
uses: actions/upload-release-asset@v1
env:
Expand All @@ -117,12 +117,18 @@ jobs:
asset_name: CHANGELOG.md
asset_content_type: text/markdown

- name: Upload CHANGELOG as artifact
uses: actions/upload-artifact@v3
with:
name: changelog
path: ./CHANGELOG.md

create_pull_request:
name: Create Pull Request
needs: build_foxe
runs-on: ubuntu-latest
steps:
- name: Download changelog file
- name: Download changelog artifact
uses: actions/download-artifact@v3
with:
name: changelog
Expand Down

0 comments on commit 2686c17

Please sign in to comment.