Skip to content

Commit

Permalink
fix(base): fix release.yaml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
morteza-jamali committed Jun 22, 2022
1 parent f3b87ef commit 63fbdb1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ on:
- 'v*.*.*'

jobs:
create_image:
release:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: Compress files
run: zip bpm-${{ steps.get_version.outputs.VERSION }}.zip ./packages/cli/bpm
- name: Release archives
uses: softprops/action-gh-release@v1
with:
files: ./packages/cli/bpm
files: ./bpm-${{ steps.get_version.outputs.VERSION }}.zip

0 comments on commit 63fbdb1

Please sign in to comment.