Skip to content

Commit 3998f28

Browse files
committed
fix: fix ci publish settings
1 parent bdad6e3 commit 3998f28

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/release.yml

+6-10
Original file line numberDiff line numberDiff line change
@@ -39,31 +39,27 @@ jobs:
3939
git archive --format=zip HEAD --output dist/vimmatic_${TAG_NAME}_source.zip
4040
if: ${{ steps.release.outputs.release_created }}
4141
- uses: browser-actions/publish-firefox-addon@latest
42-
env:
43-
TAG_NAME: ${{ steps.release.outputs.tag_name }}
4442
with:
4543
addon-id: "vimmatic"
46-
addon-path: "dist/vimmatic_${TAG_NAME}_firefox.zip"
47-
source-path: "dist/vimmatic_${TAG_NAME}_source.zip"
44+
addon-path: "dist/vimmatic_${{ steps.release.outputs.tag_name }}_firefox.zip"
45+
source-path: "dist/vimmatic_${{ steps.release.outputs.tag_name }}_source.zip"
4846
approval-note: |
4947
You can get generated file simply by "yarn install && yarn build".
5048
Supported environment is node v18 and yarn v1. After that, bundled
5149
scripts and assets with manifest.json are generated under
5250
"$PROJECT_ROOT/dist/firefox".
5351
release-note: |
5452
This versions contains some bug fixes. See full release note on GitHub:
55-
https://github.com/ueokande/vimmatic/releases/tag/${TAG_NAME}
53+
https://github.com/ueokande/vimmatic/releases/tag/${{ steps.release.outputs.tag_name }}
5654
compatibility-firefox-min: "102.0"
5755
license: "MIT"
58-
auth-api-issuer: ${{ secrets.AUTH_API_ISSUER }}
59-
auth-api-secret: ${{ secrets.AUTH_API_SECRET }}
56+
auth-api-issuer: ${{ secrets.AMO_AUTH_API_ISSUER }}
57+
auth-api-secret: ${{ secrets.AMO_AUTH_API_SECRET }}
6058
if: ${{ steps.release.outputs.release_created }}
6159
- uses: browser-actions/publish-chrome-extension@latest
62-
env:
63-
TAG_NAME: ${{ steps.release.outputs.tag_name }}
6460
with:
6561
extension-id: "pghmfgnakhjiphmlcnhfpgopkcjhiedc"
66-
extension-path: "dist/vimmatic_${TAG_NAME}_chrome.zip"
62+
extension-path: "dist/vimmatic_${{ steps.release.outputs.tag_name }}_chrome.zip"
6763
oauth-client-id: ${{ secrets.CWS_OAUTH_CLIENT_ID }}
6864
oauth-client-secret: ${{ secrets.CWS_OAUTH_CLIENT_SECRET }}
6965
oauth-refresh-token: ${{ secrets.CWS_OAUTH_REFRESH_TOKEN }}

0 commit comments

Comments
 (0)