Skip to content

Fixed typo

Fixed typo #441

Workflow file for this run

name: Hugin Desktop Main Pipeline
env:
GITHUB_REGISTRY: 'ghcr.io'
GITHUB_OWNER: 'kryptokrona'
GH_TOKEN: ${{ secrets.HUGIN_DESKTOP_SECRET }}
on:
push:
branches:
- main
paths-ignore:
- '*.md'
- '.run/**'
- '.github/ISSUE_TEMPLATE/**'
jobs:
build:
name: 'Build: ${{ matrix.config.name }} / ${{ matrix.config.platform }}'
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: true
matrix:
config:
- { name: 'Windows Latest', os: windows-latest, platform: x64 }
- { name: 'Ubuntu Latest', os: ubuntu-latest, platform: x64 }
- { name: 'macOS-11', os: macos-latest, platform: x64 }
- { name: 'macOS Latest', os: macos-latest, platform: arm64 }
env:
PLATFORM: ${{ matrix.config.platform }}
steps:
- name: Check out Git repository
uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.11
- name: install libudev
if: matrix.config.os == 'ubuntu-latest'
run: |
sudo apt-get install libudev-dev
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 18.13.0
- name: Install dependencies
run: npm i node-gyp && npm install --quiet
- name: Build ${{ matrix.config.name }}
if: matrix.config.os == 'windows-latest'
run: npm run build:win-${{ matrix.config.platform }}
- name: Build ${{ matrix.config.name }}
if: matrix.config.os == 'ubuntu-latest'
run: npm run build:linux-${{ matrix.config.platform }}
- name: Build ${{ matrix.config.name }}
if: matrix.config.name == 'macOS-11'
run: npm run build:mac-${{ matrix.config.platform }}
- name: Build ${{ matrix.config.name }}
if: matrix.config.name == 'macOS Latest'
run: npm run build:mac-${{ matrix.config.platform }}
- name: 'Upload ${{ matrix.config.name }} Artifact'
uses: actions/upload-artifact@v3
if: matrix.config.os == 'windows-latest'
with:
name: windows-latest
path: |
dist/*.exe
- name: 'Upload ${{ matrix.config.name }} Deb Artifact'
uses: actions/upload-artifact@v3
if: matrix.config.os == 'ubuntu-latest'
with:
name: ubuntu-latest-deb
path: |
dist/*.deb
- name: 'Upload ${{ matrix.config.name }} Snap Artifact'
uses: actions/upload-artifact@v3
if: matrix.config.os == 'ubuntu-latest'
with:
name: ubuntu-latest-snap
path: |
dist/*.snap
- name: 'Upload ${{ matrix.config.name }} Artifact'
uses: actions/upload-artifact@v3
if: matrix.config.name == 'macOS-11'
with:
name: macos-11
path: |
dist/*.dmg
- name: 'Upload ${{ matrix.config.name }} Artifact'
uses: actions/upload-artifact@v3
if: matrix.config.name == 'macOS Latest'
with:
name: macos-latest
path: |
dist/*.dmg