Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sjelfull authored Dec 18, 2019
1 parent 7bcd96f commit e7edfe4
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
# - name: Compile assets
# run: npm run production

- name: Create zip
# - name: Create zip
# run: cd resources && tar -czvf dist.tar.gz dist
run: tar -czvf dist.tar.gz .
# run: tar -czvf dist.tar.gz .

- name: Create release
id: create_release
Expand All @@ -31,12 +31,12 @@ jobs:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}

- name: Upload zip to release
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist.tar.gz
asset_name: dist.tar.gz
asset_content_type: application/tar+gz
#- name: Upload zip to release
# uses: actions/[email protected]
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }}
# asset_path: ./dist.tar.gz
# asset_name: dist.tar.gz
# asset_content_type: application/tar+gz

0 comments on commit e7edfe4

Please sign in to comment.