diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 0b24db1..afd308b 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -74,8 +74,8 @@ jobs:
       - name: checksum
         working-directory: upstream-packages/hostdir/binpkgs/
         run: |
-          sha256sum $(echo dotter-bin-*.${{ matrix.arch }}.xbps) | tee $(echo dotter-bin-*.${{ matrix.arch }}.xbps).sha256sum
-          sha512sum $(echo dotter-bin-*.${{ matrix.arch }}.xbps) | tee $(echo dotter-bin-*.${{ matrix.arch }}.xbps).sha512sum
+          for pkg in *.xbps; do sha256sum "$pkg" | tee "$pkg".sha256sum; done
+          for pkg in *.xbps; do sha512sum "$pkg" | tee "$pkg".sha512sum; done
 
       - name: publish to pages
         uses: peaceiris/actions-gh-pages@v4