File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 3535 npm run zip:firefox
3636 npm run zip
3737
38+ - name : Resolve zip extension paths
39+ id : paths
40+ run : |
41+ MV2_PATH=$(find .output -type f -name "*-mv2.zip")
42+ MV2_NAME=$(basename $MV2_PATH)
43+ MV3_PATH=$(find .output -type f -name "*-mv3.zip")
44+ MV3_NAME=$(basename $MV3_PATH)
45+ echo "mv2_path=$MV2_PATH" >> "$GITHUB_OUTPUT"
46+ echo "mv2_name=$MV2_NAME" >> "$GITHUB_OUTPUT"
47+ echo "mv3_path=$MV3_PATH" >> "$GITHUB_OUTPUT"
48+ echo "mv3_name=$MV3_NAME" >> "$GITHUB_OUTPUT"
49+
50+ - name : Upload mv2 as artifact
51+ uses : actions/upload-artifact@v5
52+ with :
53+ name : ${{ steps.paths.outputs.mv2_name }}
54+ path : ${{ steps.paths.outputs.mv2_path }}
55+
56+ - name : Upload mv3 as artifact
57+ uses : actions/upload-artifact@v5
58+ with :
59+ name : ${{ steps.paths.outputs.mv3_name }}
60+ path : ${{ steps.paths.outputs.mv3_path }}
61+
3862 - name : Upload to latest release
3963 if : github.event.inputs.dry_run != 'true'
4064 uses : svenstaro/upload-release-action@v2
You can’t perform that action at this time.
0 commit comments