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.