Skip to content

Commit

Permalink
using matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
Parisa68 committed Oct 1, 2024
1 parent 54454cf commit ee9619a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Publish
on:
push:

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
detect-changes:
Expand Down Expand Up @@ -173,6 +171,9 @@ jobs:
- name: Create GitHub release
uses: softprops/action-gh-release@v2
with:
target_commitish: ${{ github.head_ref || github.ref_name }}
token: "${{ secrets.GITHUB_TOKEN }}"
tag_name: "${{ matrix.component }}-${{ steps.bump_version.outputs.new_version }}"
name: "${{ matrix.component }} ${{ steps.bump_version.outputs.new_version }}"
generate_release_notes: true
prerelease: false

0 comments on commit ee9619a

Please sign in to comment.