From 7421cf0a1382c4db773b97d14fb37e65113ea6da Mon Sep 17 00:00:00 2001 From: darksaid98 Date: Thu, 12 Dec 2024 05:03:50 +0100 Subject: [PATCH] ci: use sed to modify version --- .github/actions/config/action.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/actions/config/action.yml b/.github/actions/config/action.yml index 06c0b56..1878bff 100644 --- a/.github/actions/config/action.yml +++ b/.github/actions/config/action.yml @@ -12,8 +12,5 @@ runs: steps: # Update version fields for client pack - name: Update client versions - uses: colathro/toml-editor@1.1.0 - with: - file: "./main/pack.toml" - key: "version" - value: "${{ inputs.version }}" \ No newline at end of file + run: | + sed -i -b 's/^version = .*/version = "${{ inputs.version }}"/' ./main/pack.toml \ No newline at end of file