Skip to content

Fix loading About and Settings page #7

Fix loading About and Settings page

Fix loading About and Settings page #7

Workflow file for this run

name: πŸ’¬ Whatstron CI/CD
on:
push:
tags:
- '*'
env:
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
jobs:
build:
runs-on: ubuntu-latest
name: Build βš™
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v3
- name: πŸ›  Install Yarn
run: npm install -g yarn
- name: 🧰 Install Dependencies
run: yarn install
- name: πŸ”— Build Web App
run: yarn build
- name: πŸ“ Archive Production Artifact
uses: actions/upload-artifact@master
with:
name: build
path: out
pack-windows:
runs-on: windows-latest
permissions:
contents: write
needs: build
name: Pack Windows πŸ“¦
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v3
- name: πŸ“‚ Download Builded App
uses: actions/download-artifact@master
with:
name: build
path: out
- name: πŸ›  Install Yarn
run: npm install -g yarn
- name: 🧰 Install Dependencies
run: yarn install
- name: πŸͺŸ Build Windows Artifact
run: "yarn build:win"
- name: πŸ’Ύ Publish Artifact
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files:
"dist/Whatstron.exe"
pack-linux:
runs-on: ubuntu-latest
permissions:
contents: write
needs: build
name: Pack Ubuntu πŸ“¦
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v3
- name: πŸ“‚ Download Builded App
uses: actions/download-artifact@master
with:
name: build
path: out
- name: πŸ›  Install Yarn
run: npm install -g yarn
- name: 🧰 Install Dependencies
run: yarn install
- name: 🐧 Build Linux Artifact
run: "yarn build:linux"
- name: πŸ’Ύ Publish Artifact
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
dist/Whatstron.AppImage
dist/Whatstron.deb
pack-mac:
runs-on: macos-latest
permissions:
contents: write
needs: build
name: Pack macOS πŸ“¦
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v3
- name: πŸ“‚ Download Builded App
uses: actions/download-artifact@master
with:
name: build
path: out
- name: πŸ›  Install Yarn
run: npm install -g yarn
- name: 🧰 Install Dependencies
run: yarn install
- name: 🍎 Build macOS Artifact
run: "yarn build:mac"
- name: πŸ’Ύ Publish Artifact
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files:
"dist/Whatstron.dmg"