mirror of
https://github.com/BBaoVanC/bbaovanc.com.git
synced 2025-07-04 02:57:31 -05:00
Replace deprecated set-output with $GITHUB_OUTPUT
This commit is contained in:
10
.github/workflows/audit.yml
vendored
10
.github/workflows/audit.yml
vendored
@ -2,8 +2,6 @@ name: Audit
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@ -65,10 +63,10 @@ jobs:
|
|||||||
DOMAIN: localhost
|
DOMAIN: localhost
|
||||||
run: |
|
run: |
|
||||||
urls="$(./changed-urls.sh)"
|
urls="$(./changed-urls.sh)"
|
||||||
urls="${urls//'%'/'%25'}"
|
echo "urls<<EOM" >> $GITHUB_OUTPUT
|
||||||
urls="${urls//$'\n'/'%0A'}"
|
echo "$urls" >> $GITHUB_OUTPUT
|
||||||
urls="${urls//$'\r'/'%0D'}"
|
echo "EOM" >> $GITHUB_OUTPUT
|
||||||
echo "::set-output name=urls::$urls"
|
echo -e "CHANGED:\n$urls"
|
||||||
|
|
||||||
- name: Install Caddy
|
- name: Install Caddy
|
||||||
if: "${{ steps.changed_urls.outputs.urls != '' }}"
|
if: "${{ steps.changed_urls.outputs.urls != '' }}"
|
||||||
|
Reference in New Issue
Block a user