mirror of
https://github.com/darksaid98/optim.git
synced 2026-12-01 14:38:49 +00:00
16 lines
439 B
YAML
16 lines
439 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
|
|
run: |
|
|
sed -i -b 's/^version = .*/version = "${{ inputs.version }}"/' ./main/pack.toml |