Skip to content

Commit

Permalink
refactor: use Select-Object to extract VirusTotal link
Browse files Browse the repository at this point in the history
  • Loading branch information
AlrikOlson committed Jun 10, 2024
1 parent e8f32bf commit 1fda969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
id: extract_vt_link
run: |
$vtLink = "${{ steps.virustotal.outputs.analysis }}"
$vtLink = $vtLink.Split('=')[-1]
$vtLink = $vtLink -split '=', 2 | Select-Object -Last 1
echo "VT_LINK=$vtLink" >> $env:GITHUB_ENV
- name: Create Release
Expand Down

0 comments on commit 1fda969

Please sign in to comment.