Skip to content

chore(ci): tweak build time to match akmods 38 better (#532) #276

chore(ci): tweak build time to match akmods 38 better (#532)

chore(ci): tweak build time to match akmods 38 better (#532) #276

on:
push:
branches:
- main
name: release-please
jobs:
release-please:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
outputs:
releases_created: ${{ steps.release-please.outputs.releases_created }}
tag: ${{ steps.release-please.outputs.tag_name }}
upload_url: ${{ steps.release-please.outputs.upload_url }}
steps:
- uses: google-github-actions/release-please-action@v4
id: release-please
with:
release-type: simple
package-name: release-please-action
build-iso:
name: Generate and Release ISOs
runs-on: ubuntu-latest
needs: release-please
if: needs.release-please.outputs.releases_created
container:
image: fedora:39
options: --privileged
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Generate ISO
uses: ublue-os/[email protected]
id: isogenerator
with:
image-name: universalblue
installer-repo: releases
installer-major-version: 39
boot-menu-path: boot_menu.yml
- name: install github CLI
run: |
sudo dnf install 'dnf-command(config-manager)' -y
sudo dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo
sudo dnf install gh -y
- name: Upload ISO
env:
GITHUB_TOKEN: ${{ github.token }}
run: |
gh release upload \
${{ needs.release-please.outputs.tag }} \
./${{ steps.isogenerator.outputs.iso-path }} \
--repo ${{ github.repository_owner }}/${{ github.event.repository.name }} \
--clobber
- name: Upload SHA256SUM
env:
GITHUB_TOKEN: ${{ github.token }}
run: |
gh release upload \
${{ needs.release-please.outputs.tag }} \
./${{ steps.isogenerator.outputs.sha256sum-path }} \
--repo ${{ github.repository_owner }}/${{ github.event.repository.name }} \
--clobber