Skip to content

chore(dev): start iso workflow on iso push #1

chore(dev): start iso workflow on iso push

chore(dev): start iso workflow on iso push #1

Workflow file for this run

on:
workflow_dispatch:
push:
branches:
- "iso"
name: release-iso
jobs:
release-iso:
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@v3
id: release-please
with:
release-type: node
package-name: release-please-action
build-iso:
name: Generate and Release ISOs
runs-on: ubuntu-latest
needs: release-please

Check failure on line 26 in .github/workflows/release-iso.yml

View workflow run for this annotation

GitHub Actions / release-iso

Invalid workflow file

The workflow is not valid. .github/workflows/release-iso.yml (Line: 26, Col: 12): Job 'build-iso' depends on unknown job 'release-please'.
if: needs.release-please.outputs.releases_created
container:
image: fedora:38
options: --privileged
steps:
- uses: actions/checkout@v3
- name: Generate ISO
uses: ublue-os/isogenerator@main
id: isogenerator
with:
image-name: ${{ github.event.repository.name }}
installer-repo: releases
installer-major-version: 38
- 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 }} -R ${{ 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 }} -R ${{ github.repository_owner }}/${{ github.event.repository.name }} --clobber