Skip to content

Commit

Permalink
Merge pull request #5 from poirazis/develop
Browse files Browse the repository at this point in the history
Update release workflow
  • Loading branch information
poirazis authored Dec 10, 2024
2 parents 42d1345 + 878ddae commit a53d996
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,22 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v3
with:
path: ${{ github.workspace }}/bb-component-SuperButton
- uses: actions/checkout@v3
name: Checkout Super Components Shared code repository
with:
repository: poirazis/bb_super_components_shared
path: ${{ github.workspace }}/bb_super_components_shared
ref: develop
- uses: actions/setup-node@v1
with:
node-version: 18
- name: Make the production plugin bundle
run: |
cd bb_super_components_shared
yarn
cd ../bb-component-SuperButton
release_version=$(cat package.json | jq -r '.version')
echo "RELEASE_VERSION=$release_version" >> $GITHUB_ENV
yarn
Expand All @@ -29,4 +40,4 @@ jobs:
tag_name: v${{ env.RELEASE_VERSION }}
generate_release_notes: true
files: |
dist/*.tar.gz
${{ github.workspace }}/bb-component-SuperButton/dist/*.tar.gz

0 comments on commit a53d996

Please sign in to comment.