mirror of
https://github.com/darksaid98/optim.git
synced 2026-12-02 14:38:48 +00:00
19 lines
500 B
YAML
19 lines
500 B
YAML
name: 'Update config version fields'
|
|
description: 'Sets the version fields in all relevant modpack config files'
|
|
|
|
inputs:
|
|
version:
|
|
description: 'Modpack version'
|
|
required: true
|
|
default: '1.0.0'
|
|
|
|
runs:
|
|
using: 'composite'
|
|
steps:
|
|
# Update version fields for client pack
|
|
- name: Update client versions
|
|
uses: colathro/[email protected]
|
|
with:
|
|
file: "./main/pack.toml"
|
|
key: "version"
|
|
value: "client-beta-v${{ inputs.version }}" |