diff --git a/.github/workflows/build_packages.yaml b/.github/workflows/build_packages.yaml index 9f2ad96f..0ce2bc19 100644 --- a/.github/workflows/build_packages.yaml +++ b/.github/workflows/build_packages.yaml @@ -18,7 +18,7 @@ jobs: - uses: ilammy/msvc-dev-cmd@v1 - name: build run: | - if ( "${{ github.event_name }}" -eq "repository_dispatch" ){ $version = "${{ github.event.client_payload.version }}" } else { $version = $("${{ github.ref }}" | sed -r 's .*/.*/(.*) \1 g') } + $version = $("${{ github.ref }}" | sed -r 's .*/.*/(.*) \1 g') $env:EMQX_DEPS_DEFAULT_VSN = $version set-executionpolicy remotesigned -s cu iex (new-object net.webclient).downloadstring('https://get.scoop.sh')