Skip to content

Commit

Permalink
package-lock.json
Browse files Browse the repository at this point in the history
  • Loading branch information
biplobsd committed Jan 13, 2025
1 parent e94f527 commit 01f14bb
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,15 @@ jobs:
zip -r "../${OUTPUT_NAME}" .
shell: bash

# Step 6: Upload artifacts
# Step 6: Upload artifacts with dynamic names
- name: Upload Artifact
run: |
VERSION=$(node -p "require('./package.json').version")
OUTPUT_NAME="yst_v${VERSION}_${{ matrix.browser_name }}.zip"
shell: bash

- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: yst_${{ matrix.browser_name }}
path: yst_v*.zip
name: ${{ steps.package.outputs.OUTPUT_NAME }}
path: ./*.zip

0 comments on commit 01f14bb

Please sign in to comment.