Skip to content

Commit

Permalink
Update action.yml: fixed powershell types
Browse files Browse the repository at this point in the history
  • Loading branch information
RarogCmex authored Jul 11, 2023
1 parent 6fc2d2c commit 64c2fe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ runs:

- name: Create json and invoke webhook
run: |
$json = ConvertTo-Json @{issues = @(${{ env.RELATED_JIRA_ISSUES }}); data = @{version = "${{ inputs.build-version }}"; projectName = "${{ inputs.jira-project-key }}"}}
$json = ConvertTo-Json @{issues = @("${{ env.RELATED_JIRA_ISSUES }}"); data = @{version = "${{ inputs.build-version }}"; projectName = "${{ inputs.jira-project-key }}"}}
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Invoke-RestMethod ${{ inputs.jira-automation-webhook }} -Method Post -Body $json -ContentType "application/json"
shell: pwsh

0 comments on commit 64c2fe1

Please sign in to comment.