forked from superbigco/craft-reports
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 |