From 057772f7de987a389af909cd87698dd8e617dbc9 Mon Sep 17 00:00:00 2001 From: Kazik Pogoda Date: Thu, 29 Aug 2024 21:43:26 +0200 Subject: [PATCH] github action build_release another attempt to fix release process with README.md update (#18) --- .github/workflows/build-release.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 91510ee..81e3b3f 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -48,7 +48,6 @@ jobs: echo "Branch not found for tag $TAG" exit 1 fi - echo "::set-output name=branch::$BRANCH" echo Branch: $BRANCH echo "BRANCH=$BRANCH" >> $GITHUB_ENV @@ -56,11 +55,11 @@ jobs: run: git checkout ${BRANCH} - name: Update README - run: sed -i 's/com\.xemantic\.kotlin:xemantic-kotlin-swing-dsl-\(core\|test\):[0-9]\+\(\.[0-9]\+\)*\>/com.xemantic.kotlin:xemantic-kotlin-swing-dsl-\1:${VERSION}/g' README.md + run: sed -i 's/com\.xemantic\.kotlin:xemantic-kotlin-swing-dsl-\(core\|test\):[0-9]\+\(\.[0-9]\+\)*\>/com.xemantic.kotlin:xemantic-kotlin-swing-dsl-\1:${{ VERSION }}/g' README.md - name: Create Pull Request uses: peter-evans/create-pull-request@v6 with: token: ${{ secrets.WORKFLOW_SECRET }} - commit-message: README.md gradle dependencies update to ${VERSION} - title: PR Action - README.md gradle dependencies update to ${VERSION} + commit-message: README.md gradle dependencies update to ${{ VERSION }} + title: PR Action - README.md gradle dependencies update to ${{ VERSION }}