diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 301313a..7de08ac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -117,15 +117,18 @@ jobs: nix bundle --bundler ${{ matrix.bundler.path }} --accept-flake-config - --out-link "bundles/${{ github.event.repository.name }}-${{ matrix.system }}.${{ matrix.bundler.extension }}" + --out-link result .#packages.${{ matrix.system }}.${{ matrix.package }} - - name: Upload bundles + - name: Prepare Bundle for upload + run: cp --no-preserve=mode,ownership $(find -L result -type f -print -quit) bundle + + - name: Upload bundle if: startsWith(github.ref, 'refs/tags/v') uses: actions/upload-artifact@v4 with: - name: ${{ matrix.package }}-${{ matrix.bundler.name }}-${{ matrix.system }} - path: bundles/** + name: ${{ matrix.package }}-${{ github.ref_name }}-${{ matrix.bundler.name }}-${{ matrix.system }}.${{ matrix.bundler.extension }} + path: bundle deploy-pages: runs-on: ubuntu-latest