on: workflow_dispatch: push: branches: - main - github-actions name: fox32asm Unstable - Linux jobs: fox32asm-nix: name: Build runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: cachix/install-nix-action@v22 with: github_access_token: ${{ secrets.GITHUB_TOKEN }} - name: Build run: nix build -L .#fox32asm - name: Patch run: nix run nixpkgs#patchelf -- result/bin/fox32asm --set-interpreter /lib64/ld-linux-x86-64.so.2 --output fox32asm - name: Upload artifacts uses: actions/upload-artifact@v3 with: name: fox32asm path: fox32asm