Try building and uploading release artifacts for x86_64-linux
This commit is contained in:
parent
61a0940aeb
commit
208f65fc63
25
.github/workflows/build.yaml
vendored
Normal file
25
.github/workflows/build.yaml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
name: Build artifacts
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
flake-check:
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- uses: DeterminateSystems/nix-installer-action-cache@main
|
||||||
|
|
||||||
|
- name: "Build something"
|
||||||
|
run: "nix develop -c cargo build --release"
|
||||||
|
|
||||||
|
- name: Upload a Build Artifact
|
||||||
|
uses: actions/upload-artifact@v3.1.2
|
||||||
|
with:
|
||||||
|
# Artifact name
|
||||||
|
name: nix-actions-cache-x86_64-linux
|
||||||
|
path: target/release/nix-actions-cache
|
||||||
|
retention-days: 1
|
Loading…
Reference in a new issue