Update GitHub Action pipelines

Update dependencies and change the syntax of setting step output since set-output command is deprecated
This commit is contained in:
Eddy Filip
2023-03-24 17:58:46 +01:00
parent 63dcaac407
commit 802e7c5b56
2 changed files with 3 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ jobs:
- name: Parse release version
id: get_version
run: echo "::set-output name=version::$(echo $GITHUB_REF | sed 's|^refs/heads/release/v?*||g')"
run: echo "version=$(echo "$GITHUB_REF" | sed 's|^refs/heads/release/v?*||g')" >> $GITHUB_OUTPUT
- name: Prepare Pull Request
id: prep_pr
@@ -71,7 +71,7 @@ jobs:
PR_BODY="${PR_BODY//'%'/'%25'}"
PR_BODY="${PR_BODY//$'\n'/'%0A'}"
PR_BODY="${PR_BODY//$'\r'/'%0D'}"
echo "::set-output name=pr_body::$(echo "$PR_BODY")"
echo "pr_body=$(echo "$PR_BODY")" >> $GITHUB_OUTPUT
- name: Create Pull Request via API
id: post_pr