From bfcc3211afefcbf1818ece2a3467bb8dcab3e2ca Mon Sep 17 00:00:00 2001 From: "Jorge O. Castro" Date: Thu, 6 Apr 2023 12:22:32 -0400 Subject: [PATCH] feat: move to a unified ISO for all images --- .github/workflows/release-please.yml | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index ff3a4551..71a87326 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -23,30 +23,15 @@ jobs: needs: release-please if: needs.release-please.outputs.releases_created container: fedora:latest - strategy: - matrix: - major_version: [ 38 ] - image_name: [silverblue-main, kinoite-main, vauxite-main, sericea-main, lxqt-main, mate-main] steps: - uses: actions/checkout@v3 - - name: generate KS files - shell: bash - run: | - tee -a ${{ matrix.image_name }}.ks << END - ostreecontainer --url="ghcr.io/ublue-os/${{ matrix.image_name }}:${{ matrix.major_version }}" --no-signature-verification - url --url="https://download.fedoraproject.org/pub/fedora/linux/development/38/Everything/x86_64/os/" - - %post --logfile=/root/ks-post.log --erroronfail - %end - END - name: Generate ISO uses: ublue-os/isogenerator@main id: isogenerator with: - image-name: ${{ matrix.image_name }}-${{ matrix.major_version }} + image-name: universalblue-38 installer-repo: development - installer-major-version: ${{ matrix.major_version }} - kickstart-file-path: ${{ matrix.image_name }}.ks + installer-major-version: 38 - name: install github CLI run: | sudo dnf install 'dnf-command(config-manager)' -y @@ -56,9 +41,10 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} run: - gh release upload ${{ needs.release-please.outputs.tag }} ./${{ steps.isogenerator.outputs.iso-path }} -R ublue-os/main + gh release upload ${{ needs.release-please.outputs.tag }} ${{ steps.isogenerator.outputs.iso-path }} -R ublue-os/main - name: Upload SHA256SUM env: GITHUB_TOKEN: ${{ github.token }} run: - gh release upload ${{ needs.release-please.outputs.tag }} ./${{ steps.isogenerator.outputs.sha256sum-path }} -R ublue-os/main + gh release upload ${{ needs.release-please.outputs.tag }} ${{ steps.isogenerator.outputs.sha256sum-path }} -R ublue-os/main +