Try building and uploading release artifacts for x86_64-linux

This commit is contained in:
Graham Christensen 2023-05-18 12:10:55 -04:00 committed by GitHub
parent 61a0940aeb
commit 208f65fc63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

25
.github/workflows/build.yaml vendored Normal file
View 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