Skip to content

Commit

Permalink
.github: Use GITHUB_OUTPUT instead of ::set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
norihiro committed Jan 10, 2024
1 parent 2ad6647 commit 062f262
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,15 @@ jobs:
if [[ '${{ secrets.MACOS_SIGNING_APPLICATION_IDENTITY }}' != '' && \
'${{ secrets.MACOS_SIGNING_INSTALLER_IDENTITY }}' != '' && \
'${{ secrets.MACOS_SIGNING_CERT }}' != '' ]]; then
echo '::set-output name=haveCodesignIdent::true'
echo "haveCodesignIdent=true" >> $GITHUB_OUTPUT
else
echo '::set-output name=haveCodesignIdent::false'
echo "haveCodesignIdent=false" >> $GITHUB_OUTPUT
fi
if [[ '${{ secrets.MACOS_NOTARIZATION_USERNAME }}' != '' && \
'${{ secrets.MACOS_NOTARIZATION_PASSWORD }}' != '' ]]; then
echo '::set-output name=haveNotarizationUser::true'
echo "haveNotarizationUser=true" >> $GITHUB_OUTPUT
else
echo '::set-output name=haveNotarizationUser::false'
echo "haveNotarizationUser=false" >> $GITHUB_OUTPUT
fi
echo '::endgroup::'
Expand Down

0 comments on commit 062f262

Please sign in to comment.