Skip to content

WIP: Add github workflow to build Linux releases #1

WIP: Add github workflow to build Linux releases

WIP: Add github workflow to build Linux releases #1

Workflow file for this run

name: "Ark: Build Linux Releases"
on:
# TODO: Remove this
push:
workflow_call:
inputs:
version:
required: false
description: "The Ark version"
default: ${{ github.sha }}
type: string
workflow_dispatch:
jobs:
build_linux:

Check failure on line 16 in .github/workflows/release-linux.yml

View workflow run for this annotation

GitHub Actions / Ark: Build Linux Releases

Invalid workflow file

The workflow is not valid. .github/workflows/release-linux.yml (Line: 16, Col: 5): The workflow must contain at least one job with no dependencies.
name: Build Linux packages
runs-on: ubuntu-latest-8x
timeout-minutes: 60
needs: [get_version]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
strategy:
matrix:
arch: [x64]
flavor: [debug, release]
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Setup Build Environment
run: |
sudo apt-get update
sudo apt-get install -y cargo
- name: Compile ARK (${{ matrix.flavor }})
run: |
cargo clean
cargo build ${{ matrix.flavor == 'release' && '--release' || '' }}