File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -159,10 +159,14 @@ jobs:
159159 env :
160160 ASSETS : ${{needs.extension-artifacts.outputs.tag-release-assets}}
161161 run : |
162+ # For some reason browser_download_url in ASSETS use "untagged" temporary ids
163+ # We need to refetch from url
162164 echo "ASSETS: $ASSETS"
163- CHROME_ASSET_URL=$(echo "$ASSETS" | jq -r .[0].browser_download_url )
165+ CHROME_ASSET_URL=$(echo "$ASSETS" | jq -r .[0].url )
164166 echo "CHROME_ASSET_URL: $CHROME_ASSET_URL"
165- wget -O chrome-extesion.zip $CHROME_ASSET_URL
167+ CHROME_ASSET_DOWNLOAD_URL=$(curl $CHROME_ASSET_URL | jq -r .[0].browser_download_url)
168+ echo "CHROME_ASSET_DOWNLOAD_URL: $CHROME_ASSET_DOWNLOAD_URL"
169+ curl -o chrome-extension.zip $CHROME_ASSET_DOWNLOAD_URL
166170 - name : " Submit"
167171 env :
168172 CHROME_EXTENSION_ID : " bjmmakmdjbdlhghmjobpcnmeefhfajfe"
@@ -171,7 +175,7 @@ jobs:
171175 CHROME_CLIENT_ID : ${{ secrets.CHROME_CLIENT_ID }}
172176 CHROME_CLIENT_SECRET : ${{ secrets.CHROME_CLIENT_SECRET }}
173177 CHROME_REFRESH_TOKEN : ${{ secrets.CHROME_REFRESH_TOKEN }}
174- run : pnpm wxt submit --dry-run --chrome-zip chrome-extesion .zip
178+ run : pnpm wxt submit --dry-run --chrome-zip chrome-extension .zip
175179
176180 e2e-tests :
177181 name : E2E Tests
You can’t perform that action at this time.
0 commit comments