Skip to content

Commit

Permalink
Fix release build bug
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiiiz committed Jun 18, 2023
1 parent f173a3a commit 991958a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
yarn
yarn run build --if-present
mkdir ${{ env.PLUGIN_NAME }}
cp main.js manifest.json style.css ${{ env.PLUGIN_NAME }}
cp main.js manifest.json styles.css ${{ env.PLUGIN_NAME }}
zip -r ${{ env.PLUGIN_NAME }}.zip ${{ env.PLUGIN_NAME }}
ls
echo "::set-output name=tag_name::$(git tag --sort version:refname | tail -n 1)"
Expand Down Expand Up @@ -69,13 +69,13 @@ jobs:
asset_path: ./manifest.json
asset_name: manifest.json
asset_content_type: application/json
- name: Upload style.css
- name: Upload styles.css
id: upload-style
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./style.css
asset_name: style.css
asset_path: ./styles.css
asset_name: styles.css
asset_content_type: text/css

0 comments on commit 991958a

Please sign in to comment.