From c79128dbcf64df2fc7009a15cc42ab2c443546a9 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Thu, 6 Aug 2026 22:44:09 -0500 Subject: [PATCH] Uses existing tools in builder image --- .github/workflows/build.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ba01f6b..9af9ef8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,12 +18,14 @@ jobs: steps: - uses: actions/checkout@v6 - name: Build - run: nix run -L ".#${{ matrix.arch }}" + run: |- + nix run -L ".#${{ matrix.arch }}" + mv sword.tar.xz sword-${{ matrix.arch }}.tar.xz - name: Upload artifact uses: https://gitea.com/actions/gitea-upload-artifact@v7 with: name: ${{ matrix.arch }} - path: "*.tar.xz" + path: sword-${{ matrix.arch }}.tar.xz release: needs: build @@ -35,10 +37,9 @@ jobs: - id: date name: Generate date run: |- - nix build "nixpkgs#coreutils" - echo "DATE=$(./result/bin/date +'%Y-%m-%d-%H')" >> "$GITHUB_OUTPUT" - for d in $(nix run "nixpkgs#findutils" -- -maxdepth 1 -type d); do - nix run "nixpkgs#unzip" -- -d . "${d}"/*.zip || true + echo "DATE=$(date +'%Y-%m-%d-%H')" >> "$GITHUB_OUTPUT" + for d in $(find -maxdepth 1 -type d); do + unzip -d . "${d}"/*.zip || true done ls -lR - name: Create release