Upgrade upload-artifact action to version 4 #5
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: build | |
| on: | |
| push: | |
| tags: | |
| - v* | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [18.x] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Using Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Installing dependencies | |
| run: npm ci | |
| - name: Building releases | |
| run: npm run build:all | |
| env: | |
| NODE_ENV: production | |
| - name: Collecting release builds | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: releases | |
| path: dist/release/*.zip |