diff --git a/.github/workflows/create_rel_tag.yml b/.github/workflows/create_rel_tag.yml index d76688a..f7dcfdb 100644 --- a/.github/workflows/create_rel_tag.yml +++ b/.github/workflows/create_rel_tag.yml @@ -83,6 +83,7 @@ jobs: update-params-env: runs-on: ubuntu-latest + needs: release outputs: param_env: ${{ steps.read_params_env.outputs.params_env }} release_version: ${{ steps.get_release_version.outputs.release_version }} @@ -93,7 +94,7 @@ jobs: - name: Read params.env id: read_params_env run: | - echo "params_env=$(cat /config/params.env)" >> $GITHUB_OUTPUT + echo "params_env=$(cat config/params.env)" >> $GITHUB_OUTPUT - name: Read release version id: get_release_version @@ -101,12 +102,12 @@ jobs: - name: Update params.env with new release version run: | - sed -i "s/:v[0-9.]*$/:${{ steps.get_release_version.outputs.release_version }}/g" /config/params.env + sed -i "s/:v[0-9.]*$/:${{ steps.get_release_version.outputs.release_version }}/g" config/params.env - name: Commit changes run: | git config --global user.email "github-actions@github.com" git config --global user.name "GitHub Actions" - git add /config/params.env + git add config/params.env git commit -m "Update params.env with new release tags [${{ steps.get_release_version.outputs.release_version }}]" git push