Stop using set-output on CI actions

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-11-25 13:00:32 +00:00
parent 29530caafb
commit 5025afcb50
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
3 changed files with 66 additions and 127 deletions

View file

@ -10,11 +10,10 @@ jobs:
- name: Format message
id: message
run: |
message="${{ github.actor }} pushed $(echo '${{ github.event.commits[0].message }}' | head -n 1 | tr -d "'") ${{ github.event.commits[0].url }}"
echo ::set-output name=message::"${message}"
echo "message=$(echo ${{ github.actor }} pushed $(echo ${{ github.event.commits[0].message }} | head -n 1 | tr -d "'") ${{ github.event.commits[0].url }}" >> $GITHUB_ENV
- name: IRC notification
uses: Gottox/irc-message-action@v2
with:
channel: '#cardinal'
nickname: github-event-bot
message: ${{ steps.message.outputs.message }}
message: ${{ env.message }}