This repository has been archived by the owner on Jan 30, 2024. It is now read-only.
chore(deps): update actions/upload-artifact action to v4 #194
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: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 19.x | |
- name: Cache .yarn/cache | |
uses: actions/cache@v2 | |
with: | |
path: ~/.yarn/cache | |
key: ${{ runner.os }}-yarn-${{ hashFiles('package.json') }} | |
restore-keys: ${{ runner.os }}-gradle | |
- name: Setup Project | |
run: | | |
yarn install --immutable | |
- name: Build Electron App | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: yarn dist | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: AppImage | |
path: dist/*.AppImage | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Deb | |
path: dist/*.deb | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Rpm | |
path: dist/*.rpm | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Snap | |
path: dist/*.snap | |