Skip to content

Build CPD-Client Ubuntu #1

Build CPD-Client Ubuntu

Build CPD-Client Ubuntu #1

Workflow file for this run

name: Build CPD-Client Ubuntu
on:
workflow_dispatch:
jobs:
build:
name: Build CPD-Client Ubuntu
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ubuntu-latest

Check failure on line 13 in .github/workflows/ubuntu-build.yml

View workflow run for this annotation

GitHub Actions / Build CPD-Client Ubuntu

Invalid workflow file

The workflow is not valid. .github/workflows/ubuntu-build.yml (Line: 13, Col: 13): Unexpected value 'ubuntu-latest'
steps:
- name: Check out the repository
uses: actions/checkout@v2
- name: Setup Node.js 14.x
uses: actions/setup-node@v1
with:
node-version: '14.x'
- name: Install dependencies
run: npm install
- name: Install flatpak
run: |
sudo apt-get install flatpak -y
sudo apt-get install flatpak-builder -y
sudo apt-get install elfutils -y
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
sudo flatpak install flathub org.freedesktop.Platform/x86_64/22.08 org.freedesktop.Sdk/x86_64/22.08 org.electronjs.Electron2.BaseApp/x86_64/22.08 -y
git config --global --add protocol.file.allow always
- name: Make and Publish
run: npm run build-linux
env:
GITHUB_TOKEN: ${{ secrets.BUILD_TOKEN }}