diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5a54b5b..7b49bae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go 1.x - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: ^1.19 diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml index d78b30f..7ca2bcc 100644 --- a/.github/workflows/release-pr.yml +++ b/.github/workflows/release-pr.yml @@ -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