Skip to content

Commit

Permalink
fix error for workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Rory-Z committed Feb 16, 2020
1 parent 2bbe99b commit 57917b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: ilammy/msvc-dev-cmd@v1
- name: build
run: |
if ( "${{ github.event_name }}" == "repository_dispatch" ){ $version = "${{ github.event.client_payload.version }}" } else { $version = $("${{ github.ref }}" | sed -r 's .*/.*/(.*) \1 g') }
if ( "${{ github.event_name }}" -eq "repository_dispatch" ){ $version = "${{ github.event.client_payload.version }}" } else { $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')
Expand Down

0 comments on commit 57917b3

Please sign in to comment.