Skip to content

Commit

Permalink
Merge pull request #10 from ublue-os/main
Browse files Browse the repository at this point in the history
  • Loading branch information
b- authored Oct 24, 2023
2 parents 2eeb5d8 + c2f8893 commit 4cf48a2
Show file tree
Hide file tree
Showing 4 changed files with 647 additions and 52 deletions.
44 changes: 0 additions & 44 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,47 +24,3 @@ jobs:
with:
release-type: node
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:38
options: --privileged
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Generate ISO
uses: ublue-os/[email protected]
id: isogenerator
with:
image-name: bluefin
installer-repo: releases
installer-major-version: 38
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
Loading

0 comments on commit 4cf48a2

Please sign in to comment.