Skip to content

Github Action to generate artifacts #1

Github Action to generate artifacts

Github Action to generate artifacts #1

Workflow file for this run

name: Build
# Let it run on all for now
# on: [push, pull_request]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
jobs:

Check failure on line 10 in .github/workflows/build.yml

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 10
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pre-requirements
run: sudo curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -q -y
- name: Install cargo-generate-rpm
run: cargo install cargo-generate-rpm
- name: Build
run: cargo build --release
- name: Generate RPM
run: cargo generate-rpm
- name: Upload
uses: actions/upload-artifact@v4
with:
path: target/generate-rpm/