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 }}