Skip to content

Commit

Permalink
Create single_release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Crystal-Spider committed Jun 24, 2024
1 parent 30eb3d3 commit c1446e4
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions .github/workflows/single_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Single Release Workflow

on:
workflow_dispatch:
inputs:
loader_forge:
type: boolean
description: Forge Loader
default: false
loader_fabric:
type: boolean
description: Fabric Loader
default: false
loader_neoforge:
type: boolean
description: NeoForge Loader
default: false
loader_common:
type: boolean
description: Common Loader
default: false
platform_maven:
type: boolean
description: Publish to Maven
default: false
platform_github:
type: boolean
description: Publish to GitHub
default: false
platform_curseforge:
type: boolean
description: Publish to CurseForge
default: false
platform_modrinth:
type: boolean
description: Publish to Modrinth
default: false

jobs:
call-analyze-workflow:
uses: crystal-nest/.github/.github/workflows/analyze.yml@main
permissions:
contents: read
secrets: inherit
call-release-workflow:
needs: call-analyze-workflow
permissions:
contents: write
packages: write
uses: crystal-nest/.github/.github/workflows/single_release.yml@main
with:
loader_forge: ${{ github.event.inputs.loader_forge }}
loader_fabric: ${{ github.event.inputs.loader_fabric }}
loader_neoforge: ${{ github.event.inputs.loader_neoforge }}
loader_common: ${{ github.event.inputs.loader_common }}
platform_maven: ${{ github.event.inputs.platform_maven }}
platform_github: ${{ github.event.inputs.platform_github }}
platform_curseforge: ${{ github.event.inputs.platform_curseforge }}
platform_modrinth: ${{ github.event.inputs.platform_modrinth }}
secrets: inherit

0 comments on commit c1446e4

Please sign in to comment.