Bump axios from 1.3.4 to 1.6.0 #74
This file contains 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 | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v1 | |
- name: Install Node.js, NPM and Yarn | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm install | |
- name: Build App for Windows | |
if: matrix.os == 'windows-latest' | |
run: npm run build:win | |
- name: Build App for MacOS | |
if: matrix.os == 'macos-latest' | |
run: npm run build:mac | |
- name: Build App for Linux | |
if: matrix.os == 'ubuntu-latest' | |
run: npm run build:linux | |
- name: Cleanup Artifacts for Windows | |
if: matrix.os == 'windows-latest' | |
run: | | |
npx rimraf "dist/!(*.exe)" | |
- name: Cleanup Artifacts for MacOS | |
if: matrix.os == 'macos-latest' | |
run: | | |
npx rimraf "dist/!(*.dmg)" | |
- name: Cleanup Artifacts for Linux | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
npx rimraf "dist/!(*.deb)" | |
- name: Upload Artifacts | |
uses: actions/[email protected] | |
with: | |
name: ${{ matrix.os }} | |
path: dist | |
if-no-files-found: error |