From d95d100f6530d117fc5f95cb4e8f629d5c29b95c Mon Sep 17 00:00:00 2001 From: agracio Date: Mon, 16 Sep 2024 23:39:53 +0100 Subject: [PATCH] updating GitHub pipeline --- .github/actions/setup-env/action.yml | 2 +- .github/workflows/build.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/setup-env/action.yml b/.github/actions/setup-env/action.yml index 4c409b5..f8d22d9 100644 --- a/.github/actions/setup-env/action.yml +++ b/.github/actions/setup-env/action.yml @@ -69,7 +69,7 @@ runs: shell: bash if: ${{ inputs.replace-version == 'true' }} run: | - sed -i -e 's/${{ env.json_electron_version}}/${{ inputs.electron }}/g' package.json + sed -i -e 's/${{ env.json_electron_version}}/=${{ inputs.electron }}/g' package.json # - if: runner.os == 'Windows' # uses: agracio/github-substring-action@v1.0.0 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e1765a3..d0889ab 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: uses: actions/checkout@v4 - name: Setup env - uses: ./github/action/setup-env + uses: ./.github/action/setup-env with: electron: ${{ matrix.electron }}