From 208f65fc6389ecff194542858803ef3009c13e7a Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Thu, 18 May 2023 12:10:55 -0400 Subject: [PATCH] Try building and uploading release artifacts for x86_64-linux --- .github/workflows/build.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..41cdea2 --- /dev/null +++ b/.github/workflows/build.yaml @@ -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