Update toml requirement from 0.7 to 0.8 #34
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: quay.io/pypa/manylinux2014_x86_64 | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: Build | |
uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --release | |
- name: Install RPM build tool | |
uses: actions-rs/[email protected] | |
with: | |
crate: cargo-generate-rpm | |
- name: Package RPM | |
run: cargo generate-rpm | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ruuth-rpm | |
path: target/generate-rpm/*.rpm |