Skip to content

Commit

Permalink
fix release draft yml
Browse files Browse the repository at this point in the history
  • Loading branch information
anonhostpi committed Aug 19, 2024
1 parent 142b970 commit d5245b5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ jobs:
run: npm install

- name: Pack the build
run: npm pack --pack-dest=./dist
id: pack
run: |
npm pack --pack-dest=./dist
echo "TGZ_PATH=$(find ./dist -name 'dbpf-*.tgz')" >> $GITHUB_OUTPUT
- name: Create Release Draft
id: create_release
Expand Down Expand Up @@ -49,7 +52,7 @@ jobs:
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: './dist/dbpf-*.tgz'
asset_path: ${{ steps.pack.outputs.TGZ_PATH }}
asset_name: 'module.tgz'
asset_content_type: application/octet-stream
env:
Expand Down

0 comments on commit d5245b5

Please sign in to comment.