From 974ab01a324c6f971d8baf69fef29f59b939126f Mon Sep 17 00:00:00 2001 From: giles Date: Mon, 23 Oct 2023 00:00:19 +0100 Subject: [PATCH] ... --- .gitea/workflows/convert-built-to-yml.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/convert-built-to-yml.yml b/.gitea/workflows/convert-built-to-yml.yml index 222ba5e..ce514a4 100644 --- a/.gitea/workflows/convert-built-to-yml.yml +++ b/.gitea/workflows/convert-built-to-yml.yml @@ -15,6 +15,11 @@ jobs: - uses: http://sigyl.com:3000/actions/setup-node@v3 with: node-version: '20' + - name: get development branch name + run: | + firstString=${{ github.ref_name }} + secondString="develop-" + echo ::set-env name=DEVELOPMENT_BRANCH::${firstString/build-/"$secondString"} - name: GIT push env: CI_COMMIT_MESSAGE: converted to yml for review. @@ -27,11 +32,6 @@ jobs: with: action: yml path: '.' - - name: get development branch name - run: | - firstString=${{ github.ref_name }} - secondString="develop-" - echo ::set-env name=DEVELOPMENT_BRANCH::${firstString/build-/"$secondString"} - name: GIT commit and push all changed files env: CI_COMMIT_MESSAGE: converted to yml for review.