From d823d8e1c98f5c1603669a747ec95570663804af Mon Sep 17 00:00:00 2001 From: Andy Kluger Date: Sat, 25 Nov 2023 00:44:23 -0500 Subject: [PATCH] Enable more spacing builds and try vars.nt as release notes --- .github/workflows/buildpkg.yml | 56 +++++++++++++++++++++++++++++++++- templates/buildpkg.yml.wz | 2 +- vars.nt | 6 ++-- 3 files changed, 59 insertions(+), 5 deletions(-) diff --git a/.github/workflows/buildpkg.yml b/.github/workflows/buildpkg.yml index 761e7c9..456956d 100644 --- a/.github/workflows/buildpkg.yml +++ b/.github/workflows/buildpkg.yml @@ -37,6 +37,42 @@ jobs: - name: render PKGBUILDs run: ./mk/pkgbuilds.sh + - name: copy ttf-iosevka-custom-git PKGBUILD into build ctnr + run: | + buildah copy --chown dev ctnr pkgs/ttf-iosevka-custom-git /home/dev/ttf-iosevka-custom-git + + - name: build and siphon ttf-iosevka-custom-git from build ctnr + run: | + buildah config -u dev --workingdir /home/dev/ttf-iosevka-custom-git ctnr + buildah run ctnr makepkg --noconfirm -s + + buildah run ctnr ls -lh + + pkg="$(buildah run ctnr sh -c "printf '%s\n' *.pkg.*")" + mkdir -p "${RUNNER_TEMP}/dist" + buildah run ctnr cat "$pkg" >"${RUNNER_TEMP}/dist/${pkg}" + + printf '%s\n' "${RUNNER_TEMP}/dist/" + ls -lh "${RUNNER_TEMP}/dist/" + + - name: copy ttf-iosevka-term-custom-git PKGBUILD into build ctnr + run: | + buildah copy --chown dev ctnr pkgs/ttf-iosevka-term-custom-git /home/dev/ttf-iosevka-term-custom-git + + - name: build and siphon ttf-iosevka-term-custom-git from build ctnr + run: | + buildah config -u dev --workingdir /home/dev/ttf-iosevka-term-custom-git ctnr + buildah run ctnr makepkg --noconfirm -s + + buildah run ctnr ls -lh + + pkg="$(buildah run ctnr sh -c "printf '%s\n' *.pkg.*")" + mkdir -p "${RUNNER_TEMP}/dist" + buildah run ctnr cat "$pkg" >"${RUNNER_TEMP}/dist/${pkg}" + + printf '%s\n' "${RUNNER_TEMP}/dist/" + ls -lh "${RUNNER_TEMP}/dist/" + - name: copy ttf-iosevka-quasi-proportional-custom-git PKGBUILD into build ctnr run: | buildah copy --chown dev ctnr pkgs/ttf-iosevka-quasi-proportional-custom-git /home/dev/ttf-iosevka-quasi-proportional-custom-git @@ -55,9 +91,27 @@ jobs: printf '%s\n' "${RUNNER_TEMP}/dist/" ls -lh "${RUNNER_TEMP}/dist/" + - name: copy ttf-iosevka-quasi-proportional-extension-only-custom-git PKGBUILD into build ctnr + run: | + buildah copy --chown dev ctnr pkgs/ttf-iosevka-quasi-proportional-extension-only-custom-git /home/dev/ttf-iosevka-quasi-proportional-extension-only-custom-git + + - name: build and siphon ttf-iosevka-quasi-proportional-extension-only-custom-git from build ctnr + run: | + buildah config -u dev --workingdir /home/dev/ttf-iosevka-quasi-proportional-extension-only-custom-git ctnr + buildah run ctnr makepkg --noconfirm -s + + buildah run ctnr ls -lh + + pkg="$(buildah run ctnr sh -c "printf '%s\n' *.pkg.*")" + mkdir -p "${RUNNER_TEMP}/dist" + buildah run ctnr cat "$pkg" >"${RUNNER_TEMP}/dist/${pkg}" + + printf '%s\n' "${RUNNER_TEMP}/dist/" + ls -lh "${RUNNER_TEMP}/dist/" + - name: Release uses: softprops/action-gh-release@v1 with: files: ${{ runner.temp }}/dist/* fail_on_unmatched_files: true - body_path: private-build-plans.toml + body_path: vars.nt diff --git a/templates/buildpkg.yml.wz b/templates/buildpkg.yml.wz index 8495080..c3e2513 100644 --- a/templates/buildpkg.yml.wz +++ b/templates/buildpkg.yml.wz @@ -63,4 +63,4 @@ jobs: with: files: ${{ runner.temp }}/dist/* fail_on_unmatched_files: true - body_path: private-build-plans.toml + body_path: vars.nt diff --git a/vars.nt b/vars.nt index 7dbc6d2..12d4087 100644 --- a/vars.nt +++ b/vars.nt @@ -1,9 +1,9 @@ build: # Uncomment the ones you wish to build - # - ttf-iosevka-custom-git - # - ttf-iosevka-term-custom-git + - ttf-iosevka-custom-git + - ttf-iosevka-term-custom-git - ttf-iosevka-quasi-proportional-custom-git - # - ttf-iosevka-quasi-proportional-extension-only-custom-git + - ttf-iosevka-quasi-proportional-extension-only-custom-git # - ttf-iosevka-git # - ttf-iosevka-fontconfig-mono-custom-git # - ttf-iosevka-fixed-custom-git