Fix deprecated set-output

This commit is contained in:
Dennis Heinze 2023-05-22 08:44:33 +02:00
parent bd887fa3fc
commit e2515272f8
No known key found for this signature in database
GPG key ID: D74FB5DB42CAD9A1
11 changed files with 29 additions and 29 deletions
.github/workflows

View file

@ -151,12 +151,12 @@ jobs:
git fetch --quiet --prune --tags
if [[ $(git tag -l | grep nmap-v${{ needs.build-x86.outputs.version }} | wc -l) -gt 0 ]]; then
echo "Tag for nmap-v${{ needs.build-x86.outputs.version }} already exists. Skipping release creation."
echo ::set-output name=NEW_RELEASE::"false"
echo "NEW_RELEASE=false" >> $GITHUB_OUTPUT
else
echo "Tag for nmap-v${{ needs.build-x86.outputs.version }} missing. Starting release creation."
git tag "nmap-v${{ needs.build-x86.outputs.version }}"
git push origin "nmap-v${{ needs.build-x86.outputs.version }}"
echo ::set-output name=NEW_RELEASE::"true"
echo "NEW_RELEASE=true" >> $GITHUB_OUTPUT
fi
- name: Create Release