Skip to content

Commit 7054344

Browse files
committed
github action
1 parent 97c574d commit 7054344

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4949
with:
5050
upload_url: ${{ steps.create_release.outputs.upload_url }}
51-
asset_path: ./dist/main.js
51+
asset_path: ./main.js
5252
asset_name: main.js
5353
asset_content_type: application/javascript
5454

@@ -61,14 +61,3 @@ jobs:
6161
asset_path: ./manifest.json
6262
asset_name: manifest.json
6363
asset_content_type: application/json
64-
65-
- name: Upload styles.css (optional)
66-
if: ${{ steps.check_file.outputs.exists == 'true' }}
67-
uses: actions/upload-release-asset@v1
68-
env:
69-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
70-
with:
71-
upload_url: ${{ steps.create_release.outputs.upload_url }}
72-
asset_path: ./styles.css
73-
asset_name: styles.css
74-
asset_content_type: text/css

0 commit comments

Comments
 (0)