From 6006d366c20e5a088c22b1545b0d97b6227eb45a Mon Sep 17 00:00:00 2001 From: xenia Date: Sat, 3 Feb 2024 12:56:27 +0100 Subject: [PATCH] test nix actions? --- .github/workflows/fox32asm-unstable-linux.yml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/fox32asm-unstable-linux.yml b/.github/workflows/fox32asm-unstable-linux.yml index fcb5f21..351561e 100644 --- a/.github/workflows/fox32asm-unstable-linux.yml +++ b/.github/workflows/fox32asm-unstable-linux.yml @@ -8,23 +8,16 @@ on: name: fox32asm Unstable - Linux jobs: - fox32asm-unstable-linux: + fox32asm-nix: name: Build runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - - name: Install Rust toolchain - uses: actions-rs/toolchain@v1 + - uses: cachix/install-nix-action@v22 with: - toolchain: stable - override: true + github_access_token: ${{ secrets.GITHUB_TOKEN }} + - name: Build - run: cargo build --release + run: nix build .#fox32asm - - name: Upload artifact - uses: actions/upload-artifact@v3 - with: - name: fox32asm - path: target/release/fox32asm