This repository has been archived by the owner on Oct 10, 2024. It is now read-only.
Update actions/checkout action to v2 #1106
Workflow file for this run
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
on: [push] | |
name: 'Package: Debian GNU + Linux (x86_64)' | |
jobs: | |
deb_x86-64: | |
name: Debian GNU + Linux (x86_64) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout codebase | |
uses: actions/checkout@v4 | |
- name: Setup Rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
target: x86_64-unknown-linux-gnu | |
default: true | |
profile: minimal | |
- name: Install 'cargo-deb' | |
uses: actions-rs/cargo@v1 | |
with: | |
command: install | |
args: cargo-deb | |
- name: Build & package Dokkoo | |
uses: actions-rs/cargo@v1 | |
with: | |
command: deb | |
args: --separate-debug-symbols -- --all-features --target x86_64-unknown-linux-gnu | |
- name: Upload Dokkoo build artifact to GitHub | |
uses: actions/upload-artifact@v3 | |
with: | |
name: x86_64-dokkoo.deb.gnu+linux | |
path: ./target/debian/dokkoo_*_amd64.deb | |
if-no-files-found: error |