Skip to content

Commit

Permalink
Update auto-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Yefancy committed Nov 12, 2023
1 parent 1bfae78 commit 36bab84
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/auto-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,17 @@ name: Auto Publish, Releasing
on:
workflow_dispatch:
inputs:
releaseType:
description: 'release type'
forge_releaseType:
description: 'forge release type'
required: true
type: choice
default: 'beta'
options:
- 'release'
- 'beta'
- 'alpha'
fabric_releaseType:
description: 'fabric release type'
required: true
type: choice
default: 'alpha'
Expand Down Expand Up @@ -85,7 +94,7 @@ jobs:
name: GregTechCEu ${{ steps.var.outputs.fabric_version }}-fabric
version: mc${{ steps.var.outputs.fabric_version }}-fabric
version-type: ${{ inputs.releaseType }}
version-type: ${{ inputs.fabric_releaseType }}
changelog-file: CHANGELOG.*

loaders: |
Expand Down Expand Up @@ -119,7 +128,7 @@ jobs:
name: GregTechCEu ${{ steps.var.outputs.forge_version }}-forge
version: mc${{ steps.var.outputs.forge_version }}-forge
version-type: ${{ inputs.releaseType }}
version-type: ${{ inputs.forge_releaseType }}
changelog-file: CHANGELOG.*

loaders: |
Expand Down

0 comments on commit 36bab84

Please sign in to comment.